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

7 lines
180 B
Bash
Executable File

#!/bin/bash
r_log "coreutils" "Testing pathchk"
pathchk -p "<>" 2> /dev/null
[ $? -eq 1 ] && pathchk /var/tmp/fakePathAndFile
[ $? -eq 0 ] && pathchk /var/tmp
r_checkExitStatus $?