travis: fix broken test for detecting empty SETUP_PATH

- Test was broken by commit 487d8eb2
  this remained undetected due to name conflict between
  die() in test script and in utils.sh
This commit is contained in:
Ralph Lange
2020-04-06 17:15:52 +02:00
parent 953b2960da
commit 25a60b8490

View File

@@ -60,7 +60,7 @@ fn_exists add_dependency || fail "function add_dependency missing from SCRIPTDIR
# test source_set()
######################################################################
SETUP_DIRS= source_set test01 | grep -q "(SETUP_PATH) is empty" || fail "empty search path not detected"
SETUP_PATH= source_set test01 | grep -q "(SETUP_PATH) is empty" || fail "empty search path not detected"
source_set xxdoesnotexistxx | grep -q "does not exist" || fail "missing setup file not detected"
source_set test01 | grep -q "Loading setup file" || fail "test01 setup file not found"
unset SEEN_SETUPS