Skip to content

Commit

Permalink
test: The test were leaving '2' files behind
Browse files Browse the repository at this point in the history
The syntax to output to stderr was incorrect
  • Loading branch information
hfiguiere authored and GeorgesStavracas committed Dec 26, 2023
1 parent d108395 commit aa4aeeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test-document-fuse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,19 @@ if [ -n "${XDP_UNINSTALLED:-}" ]; then
fi

# First run a basic single-thread test
echo Testing single-threaded &>2
echo Testing single-threaded >&2
"${test_srcdir}/test-document-fuse.py" --iterations ${ITERATIONS} -v
echo "ok single-threaded"

# Then a bunch of copies in parallel to stress-test
echo Testing in parallel &>2
echo Testing in parallel >&2
PIDS=()
for i in $(seq ${PARALLEL_TESTS}); do
"${test_srcdir}/test-document-fuse.py" --iterations ${PARALLEL_ITERATIONS} --prefix "$i" &
PID="$!"
PIDS+=( "$PID" )
done

echo waiting for pids "${PIDS[@]}" &>2
echo waiting for pids "${PIDS[@]}" >&2
wait "${PIDS[@]}"
echo "ok load-test"

0 comments on commit aa4aeeb

Please sign in to comment.