Skip to content

Commit 6bc9b73

Browse files
committed
Fixed the ShellCheck issue
1 parent 3c74c08 commit 6bc9b73

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/smoke.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,10 @@ grep -Fxq 'inline:app' "$VM_HOME_ROOT/dvm-app/home/inline-ran"
318318
"$TMP/local-bin/dvm-test" list >"$TMP/list.out"
319319
grep -Fq app "$TMP/list.out"
320320
grep -Fq '3000:3000,5173:5173' "$TMP/list.out"
321-
! grep -Fq '5355' "$TMP/list.out"
321+
if grep -Fq '5355' "$TMP/list.out"; then
322+
echo "ignored port 5355 leaked into dvm list output" >&2
323+
exit 1
324+
fi
322325

323326
cat >"$DVM_CONFIG/vms/app.sh" <<CONFIG
324327
DVM_GUEST_HOME="$VM_HOME_ROOT/dvm-app/home"

0 commit comments

Comments
 (0)