1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-11-17 03:32:27 +01:00
This commit is contained in:
Daniel Hahler 2018-09-19 10:02:53 +02:00
parent ff3b8d0115
commit 2878724ce3

View File

@ -262,3 +262,13 @@ fixtures bats
[ $status -eq 0 ]
[ "${lines[1]}" = "ok 1 loop_func" ]
}
@test "abs_dirname with symlink to same current directory" {
cd "$TMP"
ln -s $(which bats) bats
ln -s bats bats-linked
run ./bats-linked "$FIXTURE_ROOT/loop_keep_IFS.bats"
[ $status -eq 0 ]
expected_lines=("1..1" "ok 1 loop_func")
[ "${lines}" = "${expected_lines}" ]
}