Skip to content

Commit 0917b82

Browse files
committed
updated test_timeout.sh
1 parent 02ec920 commit 0917b82

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/test_timeout.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ set -euo pipefail
1717
[ -n "${DEBUG:-}" ] && set -x
1818
srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1919

20-
"$srcdir/../timeout.py" -t 2 sleep 10 || :
20+
# shellcheck disable=SC1090
21+
. "$srcdir/../bash-tools/lib/utils.sh"
22+
23+
run_fail 3 "$srcdir/../timeout.py" -t 2 sleep 10

0 commit comments

Comments
 (0)