Skip to content

Commit f4253da

Browse files
committed
fix(docker): keep helper test portable on macOS (#117526)
* commit 'a164d9c477595042f688322e008b206c7e318ac2': test(docker): make line count assertion portable
2 parents a624ba7 + a164d9c commit f4253da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/scripts/docker-build-helper.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2785,7 +2785,7 @@ source "$ROOT_DIR/scripts/lib/docker-e2e-package.sh"
27852785
27862786
docker_e2e_run_with_harness image-name bash -lc true
27872787
docker_e2e_run_detached_with_harness image-name
2788-
test "$(wc -l <"$TMPDIR/docker-run-seen")" = 2
2788+
[[ $(wc -l <"$TMPDIR/docker-run-seen") -eq 2 ]]
27892789
`;
27902790

27912791
execFileSync("bash", ["-lc", script], { encoding: "utf8" });

0 commit comments

Comments
 (0)