forked from sig_core/toolkit
5 lines
151 B
Bash
Executable file
5 lines
151 B
Bash
Executable file
#!/bin/bash
|
|
r_log "coreutils" "Testing timeout and sleep"
|
|
timeout 1 sleep 1
|
|
[ $? -eq 124 ] && timeout 2 sleep 2
|
|
[ $? -eq 124 ] && r_checkExitStatus $?
|