2021-07-05 06:50:25 +00:00
|
|
|
#!/bin/bash
|
|
|
|
r_log "coreutils" "Testing readlink"
|
2023-11-21 08:23:44 +00:00
|
|
|
trap "/bin/rm /var/tmp/listen" EXIT
|
2021-07-05 06:50:25 +00:00
|
|
|
ln -s /var/tmp/talk /var/tmp/listen
|
|
|
|
readlink /var/tmp/listen | grep -q "/var/tmp/talk"
|
|
|
|
r_checkExitStatus $?
|