diff options
author | Jim Meyering <jim@meyering.net> | 2006-10-22 22:12:13 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-10-22 22:12:13 +0200 |
commit | 9b3420214193492987daf0ec08fc2dda7a1606ce (patch) | |
tree | 4053a9e32a5eb2cad92b454dbcf95c97a9b9b796 /tests/mkdir | |
parent | 2457af43cf6d670ab120c19bf4f23ac545ff24b5 (diff) | |
download | coreutils-9b3420214193492987daf0ec08fc2dda7a1606ce.tar.xz |
* tests/chmod/c-option: Double-quote instances of `$abs_srcdir'.
* tests/cp/cp-parents: Likewise.
* tests/mkdir/parents: Likewise.
* tests/mkdir/perm: Likewise.
Diffstat (limited to 'tests/mkdir')
-rwxr-xr-x | tests/mkdir/parents | 6 | ||||
-rwxr-xr-x | tests/mkdir/perm | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/mkdir/parents b/tests/mkdir/parents index 477ac5937..46977fcdc 100755 --- a/tests/mkdir/parents +++ b/tests/mkdir/parents @@ -44,7 +44,7 @@ if test $framework_failure = 1; then (exit 1); exit 1 fi -. $abs_srcdir/../setgid-check +. "$abs_srcdir"/../setgid-check fail=0 @@ -56,12 +56,12 @@ mkdir e-dir > /dev/null 2>&1 && fail=1 # Create an existing directory. umask 077 mode_str=drwxr-x-wx -mode_arg=`$abs_srcdir/../rwx-to-mode $mode_str` +mode_arg=`"$abs_srcdir"/../rwx-to-mode $mode_str` mkdir -m $mode_arg a || fail=1 # this `mkdir -p ...' shouldn't change perms of existing dir `a'. d_mode_str=drwx-w--wx -d_mode_arg=`$abs_srcdir/../rwx-to-mode $d_mode_str` +d_mode_arg=`"$abs_srcdir"/../rwx-to-mode $d_mode_str` mkdir -p -m $d_mode_arg a/b/c/d # Make sure the permissions of `a' haven't been changed. diff --git a/tests/mkdir/perm b/tests/mkdir/perm index 8fdf4b616..54838088c 100755 --- a/tests/mkdir/perm +++ b/tests/mkdir/perm @@ -45,8 +45,8 @@ if test $framework_failure = 1; then (exit 1); exit 1 fi -. $abs_srcdir/../setgid-check -. $abs_srcdir/../umask-check +. "$abs_srcdir"/../setgid-check +. "$abs_srcdir"/../umask-check fail=0 |