toolkit/func/core/pkg_coreutils/16-pathchk.sh

7 lines
180 B
Bash
Raw Normal View History

2021-07-05 06:50:25 +00:00
#!/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 $?