mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-09 07:10:27 +00:00
15 lines
270 B
Fish
15 lines
270 B
Fish
|
set -l path $DIRNAME/.t-$TESTNAME-(random)
|
||
|
|
||
|
function -S setup
|
||
|
mkdir -p $path/foo
|
||
|
ln -s $path/foo $path/bar
|
||
|
end
|
||
|
|
||
|
function -S teardown
|
||
|
rm -rf $path
|
||
|
end
|
||
|
|
||
|
test "$TESTNAME - Follow symbolic links"
|
||
|
(readlink $path/bar) = (__fisher_url_from_path $path/bar)
|
||
|
end
|