Skip to content

Commit c0a7810

Browse files
authored
Merge pull request #5751 from wihobbs/issue-5750
testsuite: fix random-generation of kvs archive files in t0021
2 parents 74cc138 + 6f01881 commit c0a7810

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

t/t0021-archive-cmd.t

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
test_description='Test flux-archive'
44

5-
. `dirname $0`/content/content-helper.sh
6-
75
. `dirname $0`/sharness.sh
86

97
test_under_flux 2
@@ -15,7 +13,7 @@ umask 022
1513

1614
# Usage: randbytes bytes
1715
randbytes() {
18-
dd if=/dev/random bs=$1 count=1
16+
dd if=/dev/urandom bs=$1 count=1
1917
}
2018

2119
test_expect_success 'flux archive create --badopt prints unrecognized option' '
@@ -86,7 +84,7 @@ test_expect_success 'flux archive list works' '
8684
test_cmp list.exp list.out
8785
'
8886
test_expect_success 'flux archive list -l works' '
89-
flux archive list --l >list_l.out &&
87+
flux archive list -l >list_l.out &&
9088
cat >list_l.exp <<-EOT &&
9189
f 0644 2048 testfile2
9290
d 0755 0 testdir

0 commit comments

Comments
 (0)