test for --timeout
This commit is contained in:
parent
8aab5dad0d
commit
adc2c0dbdc
3
tests/Flags/--timeout
Executable file
3
tests/Flags/--timeout
Executable file
@ -0,0 +1,3 @@
|
||||
set -e
|
||||
$TEST_SHELL ../../urchin --shell sh .slow-tests
|
||||
! $TEST_SHELL ../../urchin --shell sh --timeout 0.3 .slow-tests
|
1
tests/Flags/.slow-tests/a
Executable file
1
tests/Flags/.slow-tests/a
Executable file
@ -0,0 +1 @@
|
||||
sleep 1s
|
1
tests/Flags/.slow-tests/b
Executable file
1
tests/Flags/.slow-tests/b
Executable file
@ -0,0 +1 @@
|
||||
sleep 2s
|
1
tests/Flags/.slow-tests/c
Executable file
1
tests/Flags/.slow-tests/c
Executable file
@ -0,0 +1 @@
|
||||
sleep 3s
|
Loading…
Reference in New Issue
Block a user