tests/expansion: Use rm instead of unlink

unlink(1) is apparently not always installed everywhere.

Since there is no real difference, just use rm.
This commit is contained in:
Fabian Homborg 2019-02-18 15:39:58 +01:00
parent 18a9141fb4
commit 1c3fe7dc66

View File

@ -130,7 +130,7 @@ set expandedtilde (env HOME=$tmpdir/linkhome ../test/root/bin/fish -c 'echo ~')
if test $expandedtilde != $tmpdir/linkhome
echo '~ expands to' $expandedtilde ' - expected ' $tmpdir/linkhome
end
unlink $tmpdir/linkhome
rm $tmpdir/linkhome
rmdir $tmpdir/realhome
rmdir $tmpdir