Skip to content

Commit

Permalink
Merge pull request #5751 from wihobbs/issue-5750
Browse files Browse the repository at this point in the history
testsuite: fix random-generation of kvs archive files in t0021
  • Loading branch information
mergify[bot] committed Feb 26, 2024
2 parents 74cc138 + 6f01881 commit c0a7810
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions t/t0021-archive-cmd.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

test_description='Test flux-archive'

. `dirname $0`/content/content-helper.sh

. `dirname $0`/sharness.sh

test_under_flux 2
Expand All @@ -15,7 +13,7 @@ umask 022

# Usage: randbytes bytes
randbytes() {
dd if=/dev/random bs=$1 count=1
dd if=/dev/urandom bs=$1 count=1
}

test_expect_success 'flux archive create --badopt prints unrecognized option' '
Expand Down Expand Up @@ -86,7 +84,7 @@ test_expect_success 'flux archive list works' '
test_cmp list.exp list.out
'
test_expect_success 'flux archive list -l works' '
flux archive list --l >list_l.out &&
flux archive list -l >list_l.out &&
cat >list_l.exp <<-EOT &&
f 0644 2048 testfile2
d 0755 0 testdir
Expand Down

0 comments on commit c0a7810

Please sign in to comment.