- Fix chgrp basic test.

This commit is contained in:
Tim Waugh 2005-10-28 08:57:38 +00:00
parent 43a39eb33f
commit 3cad9a39ff
2 changed files with 17 additions and 2 deletions

14
coreutils-chgrp.patch Normal file
View File

@ -0,0 +1,14 @@
--- coreutils-5.92/tests/group-names.chgrp 2005-10-28 09:20:12.000000000 +0100
+++ coreutils-5.92/tests/group-names 2005-10-28 09:55:27.000000000 +0100
@@ -18,3 +18,11 @@
(exit 77); exit 77
;;
esac
+
+set `id -Gn`
+if echo "$2" | grep -q '[^0-9]'
+then
+ exit 0
+else
+ (exit 77); exit 77
+fi

View File

@ -22,7 +22,7 @@ Patch3: coreutils-mkdir2.patch
Patch4: coreutils-tac.patch
Patch5: coreutils-5.92-alt-md5sum-binary.patch
# fileutils
Patch100: coreutils-chgrp.patch
Patch107: fileutils-4.1.10-timestyle.patch
Patch182: coreutils-acl.patch
@ -78,7 +78,7 @@ the old GNU fileutils, sh-utils, and textutils packages.
%patch4 -p0 -b .tac
%patch5 -p1 -b .alt-md5sum-binary
# fileutils
%patch100 -p1 -b .chgrp
%patch107 -p1 -b .timestyle
%patch182 -p1 -b .acl
@ -263,6 +263,7 @@ fi
%changelog
* Fri Oct 28 2005 Tim Waugh <twaugh@redhat.com>
- Fix chgrp basic test.
- Include md5sum patch from ALT.
* Mon Oct 24 2005 Tim Waugh <twaugh@redhat.com> 5.92-0.1