forked from sig_core/toolkit
8 lines
236 B
Bash
Executable file
8 lines
236 B
Bash
Executable file
#!/bin/bash
|
|
r_log "coreutils" "Testing pathchk"
|
|
pathchk -p "<>" 2> /dev/null
|
|
# shellcheck disable=SC2181
|
|
[ $? -eq 1 ] && pathchk /var/tmp/fakePathAndFile
|
|
# shellcheck disable=SC2181
|
|
[ $? -eq 0 ] && pathchk /var/tmp
|
|
r_checkExitStatus $?
|