Skip to content

Commit 53436f8

Browse files
authored
no stdout
1 parent 4fe1822 commit 53436f8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/error_path_manager_timeout.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ mktempdir() do tmpdir
66
println(io, "#!/usr/bin/env bash")
77
println(io, "set -euf -o pipefail")
88
# println(io, "set -x")
9-
println(io, "echo [stdout] fake-srun: sleeping for 15 seconds...")
9+
10+
# we only print this to stderr; don't print to stdout, or we won't hit the desired error path
11+
# (we'll hit a different error path instead, not the one we want to test)
1012
println(io, "echo [stderr] fake-srun: sleeping for 15 seconds... >&2")
11-
println(io, "sleep 15") # Bash sleep for 15-seconds
13+
14+
# Bash sleep for 15-seconds:
15+
println(io, "sleep 15")
16+
1217
println(io, "echo [stdout] fake-srun: INTENTIONALLY ERROR-ING")
1318
println(io, "echo [stderr] fake-srun: INTENTIONALLY ERROR-ING >&2")
1419
println(io, "exit 1")

0 commit comments

Comments
 (0)