diff options
Diffstat (limited to 'tests/cp/r-vs-symlink')
-rwxr-xr-x | tests/cp/r-vs-symlink | 8 |
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 |