Skip to content

Commit

Permalink
run_genimage_impl: abort for missing config file
Browse files Browse the repository at this point in the history
Otherwise, a missing config file is not detected for tests that are
expected to fail.

Signed-off-by: Michael Olbrich <[email protected]>
  • Loading branch information
michaelolbrich committed Jun 21, 2024
1 parent 0d9f207 commit b0d050e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ setup_data() {
}

run_genimage_impl() {
if [ ! -e "${1}" ]; then
echo "ERROR: genimage config file '${1}' missing!"
return 130
fi
if [ "$verbose" = "t" ]; then
vargs="--loglevel=3"
fi
Expand Down

0 comments on commit b0d050e

Please sign in to comment.