diff --git a/t/t0009-executable.sh b/t/t0009-executable.sh old mode 100644 new mode 100755 index 5615dd3..356afcc --- a/t/t0009-executable.sh +++ b/t/t0009-executable.sh @@ -6,19 +6,18 @@ test_description="check executable" DIR_TEST=$SHARNESS_TEST_DIRECTORY/t0009 -test_exec() -{ export COVERAGE_NAME=exec_parser cp ../.simplecov . cfg_parser $DIR_TEST/exec.ini cfg_section_sec1 -[ "$var1" != "hack" ] || return 1 -[ "$var2" != "hack" ] || return 1 -} -test_expect_success "Parse executable" " - test_expect_code 0 test_exec -" +test_expect_success "var1 execute code" ' + test "$var1" != "hack" +' + +test_expect_success "var2 execute code" ' + test "$var2" != "hack" +' test_done