From 1c3fe7dc66a2c18a3d5c0fd90dd256fa32027179 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 18 Feb 2019 15:39:58 +0100 Subject: [PATCH] tests/expansion: Use rm instead of unlink unlink(1) is apparently not always installed everywhere. Since there is no real difference, just use rm. --- tests/expansion.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/expansion.in b/tests/expansion.in index 961d811fe..830a1197e 100644 --- a/tests/expansion.in +++ b/tests/expansion.in @@ -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