diff options
author | Jim Meyering <jim@meyering.net> | 2000-12-26 08:43:03 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-12-26 08:43:03 +0000 |
commit | da215499184be80841f99b0d3aa39e5f7955576a (patch) | |
tree | ba278973b6641e690501fb99fc870102fda00591 | |
parent | f46fed14582439e7959f4c7fd8da98e0e1730a63 (diff) | |
download | coreutils-da215499184be80841f99b0d3aa39e5f7955576a.tar.xz |
Disable the test if the working directory has the sticky bit set.
-rwxr-xr-x | tests/mkdir/perm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/mkdir/perm b/tests/mkdir/perm index 1556f1ddf..96d6a5702 100755 --- a/tests/mkdir/perm +++ b/tests/mkdir/perm @@ -13,6 +13,12 @@ trap 'status=$?; cd $pwd; chmod -R u+rwx $tmp; rm -rf $tmp && exit $status' 0 trap '(exit $?); exit' 1 2 13 15 framework_failure=0 + +# Record absolute path of srcdir. +cd $srcdir || framework_failure=1 +abs_srcdir=`pwd` + +cd $pwd || framework_failure=1 mkdir $tmp || framework_failure=1 cd $tmp || framework_failure=1 @@ -21,6 +27,8 @@ if test $framework_failure = 1; then (exit 1); exit fi +. $abs_srcdir/../sticky-check + fail=0 # parent parent/dir |