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