Skip to content

Commit f774eb0

Browse files
committed
testsuite: fix t2617 to utilize /dev/urandom
Problem: yesterday, it was noted that some of the new flux-archive(1) tests were utilizing /dev/random which is truncated at <4096 bytes (usually). Unfortunately, we neglected to catch one test that was doing the same thing. Fix t2617. For reference, see issue #5750 and PR #5751.
1 parent c0a7810 commit f774eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t2617-job-shell-stage-in.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ test_expect_success 'remove archives' '
113113
flux archive remove --name=red
114114
'
115115
test_expect_success 'create a test file with random content' '
116-
dd if=/dev/random of=foo bs=4096 count=1 conv=notrunc
116+
dd if=/dev/urandom of=foo bs=4096 count=1 conv=notrunc
117117
'
118118
test_expect_success 'map test file and access it to prime the cache' '
119119
mkdir -p copydir &&

0 commit comments

Comments
 (0)