File: runtests-quiet.sh

package info (click to toggle)
liburing 2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,060 kB
  • sloc: ansic: 33,021; sh: 600; makefile: 407; cpp: 32
file content (11 lines) | stat: -rwxr-xr-x 197 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash

TESTS=("$@")
RESULT_FILE=$(mktemp)
./runtests.sh "${TESTS[@]}" > "$RESULT_FILE" 2>&1
RET="$?"
if [ "${RET}" -ne 0 ]; then
    cat "$RESULT_FILE"
fi
rm "$RESULT_FILE"
exit $RET