summaryrefslogtreecommitdiff
path: root/tests/rm/sunos-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/sunos-1')
-rwxr-xr-xtests/rm/sunos-18
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/rm/sunos-1 b/tests/rm/sunos-1
index be988e11f..3057ecbbd 100755
--- a/tests/rm/sunos-1
+++ b/tests/rm/sunos-1
@@ -22,12 +22,8 @@
# actually remove files with names of entries in the current directory
# but relative to `/' rather than relative to the current directory.
-if test "$VERBOSE" = yes; then
- set -x
- rm --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && rm --version
rm -r '' > /dev/null 2>&1 && fail=1