diff options
author | Jim Meyering <jim@meyering.net> | 2000-11-09 22:22:41 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-11-09 22:22:41 +0000 |
commit | 020235e16769c2dd35faba1baaee2b10c0291e64 (patch) | |
tree | 02bfc9c9d3b9d6be1bb4fd36a039407e0fe06829 | |
parent | 445485d9b834a13b769b06bec85fcedd47ab9432 (diff) | |
download | coreutils-020235e16769c2dd35faba1baaee2b10c0291e64.tar.xz |
*** empty log message ***
-rw-r--r-- | old/fileutils/ChangeLog | 4 | ||||
-rwxr-xr-x | tests/mkdir/parents | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index c3e2459d0..de4a3ec4d 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,3 +1,7 @@ +2000-11-09 Jim Meyering <meyering@lucent.com> + + * Version 4.0.32. + 2000-11-06 Jim Meyering <meyering@lucent.com> * tests/cp/cp-parents: Move mkdir tests into ../mkdir. diff --git a/tests/mkdir/parents b/tests/mkdir/parents index b7cbd8d16..edd100035 100755 --- a/tests/mkdir/parents +++ b/tests/mkdir/parents @@ -20,7 +20,7 @@ abs_srcdir=`pwd` cd $pwd || framework_failure=1 mkdir $tmp || framework_failure=1 cd $tmp || framework_failure=1 -mkdir e-dir || framework_failure=1 +mkdir -m 700 e-dir || framework_failure=1 if test $framework_failure = 1; then echo 'failure in testing framework' @@ -29,6 +29,16 @@ fi fail=0 +p=`ls -ld e-dir|sed 's/ .*//'` +case $p in drwx------);; *) fail=1;; esac +if test $fail = 1 + cat <<EOF >&2 +$0: Since it looks like you're running this test in a directory with +the sticky bit set, we're skipping this test. +EOF + (exit 77); exit +fi + # Make sure `mkdir -p existing-dir' succeeds # and that `mkdir existing-dir' fails. mkdir -p e-dir || fail=1 |