We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77f472d + 03fe63f commit af96d31Copy full SHA for af96d31
t/t2602-job-shell.t
@@ -28,13 +28,13 @@ test_expect_success 'job-shell: reads J not jobspec' '
28
flux job urgency ${id} default &&
29
flux job attach -vEX ${id}
30
'
31
-
+# Note: J.new sent on stdin to `flux kvs put` below to avoid overflowing
32
+# maximum argument length.
33
test_expect_success 'job-shell: fails on modified J' '
34
id=$(flux submit --wait-event=priority \
35
-n1 --urgency=hold true) &&
36
flux job info ${id} J | sed s/./%/85 > J.new &&
- flux kvs put \
37
- $(flux job id --to=kvs ${id}).J="$(cat J.new)" &&
+ cat J.new | flux kvs put --raw $(flux job id --to=kvs ${id}).J=- &&
38
39
test_must_fail flux job attach -vEX ${id}
40
0 commit comments