mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 08:42:44 +08:00
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:
parent
18a9141fb4
commit
1c3fe7dc66
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user