From 18f2433d2a6e8f4efa2578a353c21d806315966e Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 15 May 2020 15:31:11 -0400 Subject: [PATCH] tests/config/pass/everything/pass.bats: make test directory the CWD Signed-off-by: Philippe Proulx --- tests/config/pass/everything/pass.bats | 2 ++ 1 file changed, 2 insertions(+) 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 } -- 2.34.1