Avoid a spurious test failure when build directory is set-GID.

* tests/cp/fail-perm: Ensure that '.'s set-GID bit is off.
This commit is contained in:
Jim Meyering committed 2007-11-30 17:05:07 +01:00
1 parent 9db1c230c4
commit 317413874c
2 files changed
+4

No files matched your search

+3
View File
@@ -1,5 +1,8 @@
2007-11-30 Jim Meyering <meyering@redhat.com>
Avoid a spurious test failure when build directory is set-GID.
* tests/cp/fail-perm: Ensure that '.'s set-GID bit is off.
Be extra careful to quote $abs_top_builddir-derived names.
* tests/misc/ls-misc (shell_quote): New function.
Use it to quote file names derived from $abs_top_builddir,
+1
View File
@@ -25,6 +25,7 @@ fi
. $srcdir/../test-lib.sh
skip_if_root_
chmod g-s . || framework_failure
mkdir D D/D || framework_failure
touch D/a || framework_failure
chmod 0 D/a || framework_failure