Skip to content

Commit

Permalink
tests: Fix test for systemd unit name datasource (Snoopy reports empt…
Browse files Browse the repository at this point in the history
…y as "-")
  • Loading branch information
bostjan committed Sep 4, 2024
1 parent 402f464 commit 01c1293
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/datasource/datasource_systemd_unit_name.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ else

fi

# Adjust the empty value to pass the test
if [ "$VAL_EXPECTED" == "" ]; then
VAL_EXPECTED="-"
fi



### Evaluate
Expand Down

0 comments on commit 01c1293

Please sign in to comment.