File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,9 @@ test_expect_success 'load kvs' '
8484 flux module load kvs
8585'
8686test_expect_success ' make a reference invalid' '
87- cat dirc.out | jq -c .data[2]=\"sha1-1234567890123456789012345678901234567890\" > dircbad.out &&
88- flux kvs put --treeobj dir.c="$(cat dircbad.out)"
87+ cat dirc.out | jq -c .data[1]=\"sha1-1234567890123456789012345678901234567890\" > dircbad1.out &&
88+ cat dircbad1.out | jq -c .data[2]=\"sha1-1234567890123456789012345678901234567890\" > dircbad2.out &&
89+ flux kvs put --treeobj dir.c="$(cat dircbad2.out)"
8990'
9091test_expect_success ' unload kvs' '
9192 flux module remove kvs
@@ -102,6 +103,7 @@ test_expect_success 'flux-fsck detects errors' '
102103test_expect_success ' flux-fsck --verbose outputs details' '
103104 test_must_fail flux fsck --verbose 2> fsckerrors3V.out &&
104105 grep "dir\.b" fsckerrors3V.out | grep "missing blobref" | grep "index=1" &&
106+ grep "dir\.c" fsckerrors3V.out | grep "missing blobref" | grep "index=1" &&
105107 grep "dir\.c" fsckerrors3V.out | grep "missing blobref" | grep "index=2" &&
106108 grep "Total errors: 2" fsckerrors3V.out
107109'
You can’t perform that action at this time.
0 commit comments