diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-06-22 18:08:35 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-06-22 18:08:35 +0000 |
commit | a240b41236d45b1d19735b7c8fc542dbede8ceed (patch) | |
tree | a56c730981bc611d09ece724868f57a178836b9d /tests | |
parent | 5750ad83c889e1c5bd092205e8134403a52191a4 (diff) | |
download | coreutils-a240b41236d45b1d19735b7c8fc542dbede8ceed.tar.xz |
Use umask-check instead of chmod.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cp/cp-parents | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/cp/cp-parents b/tests/cp/cp-parents index 35b2c023a..8f97cb515 100755 --- a/tests/cp/cp-parents +++ b/tests/cp/cp-parents @@ -22,6 +22,7 @@ abs_srcdir=`pwd` cd $pwd || framework_failure=1 . $srcdir/../envvar-check +. $srcdir/../umask-check mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 @@ -31,9 +32,6 @@ cd $tmp || framework_failure=1 mkdir foo bar || framework_failure=1 mkdir -p a/b/c d e || framework_failure=1 -# Systems with ACLs might need this, if ACLs override umask. -chmod -R 755 a d e || framework_failure=1 - if test $framework_failure = 1; then echo 'failure in testing framework' exit 1 |