File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,14 @@ mktempdir() do tmpdir
6
6
println (io, " #!/usr/bin/env bash" )
7
7
println (io, " set -euf -o pipefail" )
8
8
# 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)
10
12
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
+
12
17
println (io, " echo [stdout] fake-srun: INTENTIONALLY ERROR-ING" )
13
18
println (io, " echo [stderr] fake-srun: INTENTIONALLY ERROR-ING >&2" )
14
19
println (io, " exit 1" )
You can’t perform that action at this time.
0 commit comments