diff --git a/tests/datasource/datasource_systemd_unit_name.sh b/tests/datasource/datasource_systemd_unit_name.sh index 83a46c30..7d51e51e 100755 --- a/tests/datasource/datasource_systemd_unit_name.sh +++ b/tests/datasource/datasource_systemd_unit_name.sh @@ -43,6 +43,11 @@ else fi +# Adjust the empty value to pass the test +if [ "$VAL_EXPECTED" == "" ]; then + VAL_EXPECTED="-" +fi + ### Evaluate