1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

*** empty log message ***

This commit is contained in:
Jim Meyering
2000-04-27 06:30:59 +00:00
parent 862b31c48a
commit 758eab108f

22
tests/mkdir/special-1 Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/sh
# verify that mkdir honors special bits in MODE
if test "$VERBOSE" = yes; then
set -x
$mkdir --version
fi
tmp=mkdir-sp-$$
trap 'status=$?; rm -rf $tmp && exit $status' 0
trap 'exit $?' 1 2 13 15
mkdir -m2755 $tmp || fail=1
test -d $tmp || fail=1
set -- `ls -ld $tmp`
case "$1" in
drwxr-sr-x) ;;
*) fail=1 ;;
esac
exit $fail