forked from sig_core/toolkit
9 lines
229 B
Bash
Executable File
9 lines
229 B
Bash
Executable File
#!/bin/bash
|
|
r_log "file" "Check that we can see a symlink"
|
|
FILE_PATH=/var/tmp/linktest
|
|
trap '/bin/rm ${FILE_PATH}' EXIT
|
|
MIME="inode/symlink"
|
|
ln -s /etc/issue $FILE_PATH
|
|
file -i $FILE_PATH | grep -q "${MIME}"
|
|
r_checkExitStatus $?
|