toolkit/func/core/pkg_coreutils/14-bool.sh
2021-07-04 23:50:25 -07:00

12 lines
192 B
Bash
Executable file

#!/bin/bash
r_log "coreutils" "Test true/false"
r_log "coreutils" "Test true"
true
test $? -eq 0
r_checkExitStatus $?
r_log "coreutils" "Test false"
false
test $? -eq 1
r_checkExitStatus $?