Skip to content

positive check when linked to /dev/null (dummy rte)

Andrii Salnikov requested to merge andrii/arc:dummy-rte-fix into master
[manf@F302 arc-git]$ test -f /tmp/file && echo yes
yes
[manf@F302 arc-git]$ test -e /tmp/file && echo yes
yes

[manf@F302 arc-git]$ test -f /tmp/null && echo yes
[manf@F302 arc-git]$ test -e /tmp/null && echo yes
yes

[manf@F302 arc-git]$ test -e /tmp/broken && echo yes
[manf@F302 arc-git]$ test -f /tmp/broken && echo yes

Merge request reports

Loading