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

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