diff --git a/tests/basic b/tests/basic index 87bb7d8..bfee8bd 100755 --- a/tests/basic +++ b/tests/basic @@ -1,9 +1,8 @@ #!/bin/sh # small examples -test "$VERBOSE" = yes && set -x : ${srcdir=.} -. "$srcdir/init.sh" +. "$srcdir/init.sh"; path_prepend_ ../src fail=0 diff --git a/tests/binary b/tests/binary index 9c31bc6..c66ea04 100644 --- a/tests/binary +++ b/tests/binary @@ -1,9 +1,8 @@ #!/bin/sh # small examples -test "$VERBOSE" = yes && set -x : ${srcdir=.} -. "$srcdir/init.sh" +. "$srcdir/init.sh"; path_prepend_ ../src printf 'Binary files - and /dev/null differ\n' > out-exp || fail_ setup diff --git a/tests/function-line-vs-leading-space b/tests/function-line-vs-leading-space index 320452c..62fd021 100755 --- a/tests/function-line-vs-leading-space +++ b/tests/function-line-vs-leading-space @@ -1,9 +1,8 @@ #!/bin/sh # Demonstrate how -F RE behavior changed after diff-2.9. -test "$VERBOSE" = yes && set -x : ${srcdir=.} -. "$srcdir/init.sh" +. "$srcdir/init.sh"; path_prepend_ ../src cat < in || fail_ "failed to create temporary file" procedure AdaCode is diff --git a/tests/label-vs-func b/tests/label-vs-func index c862bed..2026b0a 100755 --- a/tests/label-vs-func +++ b/tests/label-vs-func @@ -1,9 +1,8 @@ #!/bin/sh # Show how diff's -p option can mistakenly match a label: in column 1. -test "$VERBOSE" = yes && set -x : ${srcdir=.} -. "$srcdir/init.sh" +. "$srcdir/init.sh"; path_prepend_ ../src fail=0 cat < exp || fail=1 diff --git a/tests/stdin b/tests/stdin index 3c114bd..66ef2bb 100755 --- a/tests/stdin +++ b/tests/stdin @@ -1,9 +1,8 @@ #!/bin/sh # Ensure that "-" means "standard input". -test "$VERBOSE" = yes && set -x : ${srcdir=.} -. "$srcdir/init.sh" +. "$srcdir/init.sh"; path_prepend_ ../src fail=0