summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-09-02 15:22:37 +0000
committerJim Meyering <jim@meyering.net>2001-09-02 15:22:37 +0000
commitee5c9da57b70b30129554323ef4c4427bf65445a (patch)
treefd5c084f75c1b8205764175d22372b75c028133c /tests
parentcf346c4179e3060ff80a0165c750ea46487402d6 (diff)
downloadcoreutils-ee5c9da57b70b30129554323ef4c4427bf65445a.tar.xz
Don't pass an argument to a sourced script.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/chown/basic2
-rwxr-xr-xtests/cp/special-bits2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/chown/basic b/tests/chown/basic
index 106e39282..db270ea94 100755
--- a/tests/chown/basic
+++ b/tests/chown/basic
@@ -8,7 +8,7 @@ fi
. $srcdir/../envvar-check
. $srcdir/../lang-default
-. $srcdir/../priv-check require-root
+PRIV_CHECK_ARG=require-root . $srcdir/../priv-check
pwd=`pwd`
tmp=basic.$$
diff --git a/tests/cp/special-bits b/tests/cp/special-bits
index 26354c8e1..231ba0037 100755
--- a/tests/cp/special-bits
+++ b/tests/cp/special-bits
@@ -10,7 +10,7 @@ if test "$VERBOSE" = yes; then
cp --version
fi
-. $srcdir/../priv-check require-root
+PRIV_CHECK_ARG=require-root . $srcdir/../priv-check
pwd=`pwd`
tmp=spec-bits.$$