summaryrefslogtreecommitdiff
path: root/tests/cp/r-vs-symlink
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/r-vs-symlink')
-rwxr-xr-xtests/cp/r-vs-symlink8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/cp/r-vs-symlink b/tests/cp/r-vs-symlink
index e537767b9..7d9dfd8e4 100755
--- a/tests/cp/r-vs-symlink
+++ b/tests/cp/r-vs-symlink
@@ -20,12 +20,8 @@
# though now such usage evokes a warning:
# cp: `slink': WARNING: using -r to copy symbolic links is not portable
-if test "$VERBOSE" = yes; then
- set -x
- cp --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && cp --version
echo abc > foo || framework_failure
ln -s foo slink || framework_failure