Exercise selector validation in a fresh OPNsense VM
This commit is contained in:
parent
707b060501
commit
b6a8e185d8
1 changed files with 42 additions and 18 deletions
|
|
@ -36,6 +36,7 @@ cleanup()
|
|||
}
|
||||
trap cleanup EXIT INT TERM
|
||||
|
||||
rm -f "$runtime_dir/ready" "$runtime_dir/launcher.log"
|
||||
"$script_dir/start-opnsense.sh" > "$runtime_dir/launcher.log" 2>&1 &
|
||||
launcher_pid=$!
|
||||
|
||||
|
|
@ -70,6 +71,7 @@ while ! curl --fail --insecure --silent --connect-timeout 2 "$OPNSENSE_UI_BASE_U
|
|||
}
|
||||
sleep 1
|
||||
done
|
||||
sleep 10
|
||||
|
||||
pnpm --dir "$script_dir" install --frozen-lockfile
|
||||
pnpm --dir "$script_dir" test
|
||||
|
|
|
|||
Loading…
Reference in a new issue