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

13 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 $?