forked from sig_core/toolkit
9 lines
236 B
Bash
Executable File
9 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 $?
|