Skip to content

Commit 8049c2c

Browse files
committed
fix tests: print test name and find / only
1 parent 42afd6b commit 8049c2c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

tests/long/test-find.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ PROJ_ROOT="${PROJ_ROOT:-$(git rev-parse --show-toplevel)}"
55
TEST="${PROJ_ROOT}"/tests
66
TRACE=${TRACE:-$1}
77

8-
"${TRACE}" sh -c "find / -name /usr/bin/trace_v3"
8+
"${TRACE}" sh -c "find /"
99

tests/run-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ for test in "${PROJ_ROOT}"/tests/short/test-*.sh
88
do
99
${test} 1>"${test}.out" 2>"${test}.err"
1010

11+
echo "Running $(basename $test)"
1112
echo "==== STDOUT ===="
1213
cat "${test}.out"
1314
echo "==== STDERR ===="
@@ -18,6 +19,7 @@ for test in "${PROJ_ROOT}"/tests/long/test-*.sh
1819
do
1920
${test} 1>"${test}.out" 2>"${test}.err"
2021

22+
echo "Running $(basename $test)"
2123
echo "==== STDOUT ===="
2224
cat "${test}.out"
2325
echo "==== STDERR ===="

0 commit comments

Comments
 (0)