From: Philippe Proulx Date: Fri, 15 May 2020 19:31:11 +0000 (-0400) Subject: tests/config/pass/everything/pass.bats: make test directory the CWD X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=18f2433d2a6e8f4efa2578a353c21d806315966e;p=deliverable%2Fbarectf.git tests/config/pass/everything/pass.bats: make test directory the CWD Signed-off-by: Philippe Proulx --- diff --git a/tests/config/pass/everything/pass.bats b/tests/config/pass/everything/pass.bats index ba17e65..884aa77 100644 --- a/tests/config/pass/everything/pass.bats +++ b/tests/config/pass/everything/pass.bats @@ -26,6 +26,7 @@ load ../../common @test 'config file using all features makes barectf pass' { barectf_config_check_success config.yaml + pushd "$BATS_TEST_DIRNAME" >/dev/null [ -f metadata ] [ -f bctf.c ] [ -f bctf.h ] @@ -53,4 +54,5 @@ load ../../common nm bctf.o | grep bctf_packet_is_open nm bctf.o | grep bctf_packet_set_buf nm bctf.o | grep bctf_packet_size + popd }