Blame tests/p_coreutils/sleeptimeout.sh
|
Alice Kaerast |
a5b9f7 |
#!/bin/bash
|
|
Alice Kaerast |
a5b9f7 |
# Author Alice Kaerast <alice@kaerast.info>
|
|
Alice Kaerast |
a5b9f7 |
|
|
Alice Kaerast |
a5b9f7 |
t_Log "$0 checking timeout and sleep"
|
|
Alice Kaerast |
a5b9f7 |
|
|
Alice Kaerast |
a5b9f7 |
timeout 1 sleep 2
|
|
Alice Kaerast |
a5b9f7 |
test $? -eq 124 && timeout 2 sleep 1
|
|
Alice Kaerast |
a5b9f7 |
t_CheckExitStatus $?
|