mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 07:01:34 +00:00
test(docker): make line count assertion portable
This commit is contained in:
@@ -2785,7 +2785,7 @@ source "$ROOT_DIR/scripts/lib/docker-e2e-package.sh"
|
||||
|
||||
docker_e2e_run_with_harness image-name bash -lc true
|
||||
docker_e2e_run_detached_with_harness image-name
|
||||
test "$(wc -l <"$TMPDIR/docker-run-seen")" = 2
|
||||
[[ $(wc -l <"$TMPDIR/docker-run-seen") -eq 2 ]]
|
||||
`;
|
||||
|
||||
execFileSync("bash", ["-lc", script], { encoding: "utf8" });
|
||||
|
||||
Reference in New Issue
Block a user