mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-27 01:44:20 +00:00
tests: use path_prepend_ consistently; remove unnecessary VERBOSE check
* tests/basic: Likewise. * tests/binary: Likewise. * tests/function-line-vs-leading-space: Likewise. * tests/label-vs-func: Likewise. * tests/stdin: Likewise.
This commit is contained in:
parent
eb7d0cc491
commit
55cf264a2b
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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 <<EOF > in || fail_ "failed to create temporary file"
|
||||
procedure AdaCode is
|
||||
|
||||
@ -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 <<EOF > exp || fail=1
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user