diff --git a/tests/dtc-checkfails.sh b/tests/dtc-checkfails.sh index 265173c..c58694f 100755 --- a/tests/dtc-checkfails.sh +++ b/tests/dtc-checkfails.sh @@ -1,6 +1,6 @@ #! /bin/sh -. tests.sh +. ./tests.sh for x; do shift diff --git a/tests/dtc-fatal.sh b/tests/dtc-fatal.sh index 8eb1b44..6781ced 100644 --- a/tests/dtc-fatal.sh +++ b/tests/dtc-fatal.sh @@ -1,6 +1,6 @@ #! /bin/sh -. tests.sh +. ./tests.sh verbose_run $VALGRIND "$DTC" -o/dev/null "$@" ret="$?" diff --git a/tests/tests.sh b/tests/tests.sh index 28b3fb1..30ffead 100644 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -23,7 +23,7 @@ verbose_run () { verbose_run_log () { LOG="$1" shift - "$@" &> "$LOG" + "$@" > "$LOG" 2>&1 ret=$? if [ -z "$QUIET_TEST" ]; then cat "$LOG" >&2