Skip to content

Commit

Permalink
t/kvs: Add additional coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
chu11 committed Jan 31, 2019
1 parent e5915e9 commit bbd148e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/t1000-kvs.t
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,7 @@ test_expect_success 'kvs: directory with multiple subdirs using dir --at' '
flux kvs put --json $DIR.c.a.b=3.14 &&
flux kvs put --json $DIR.d=\"snerg\" &&
flux kvs put --json $DIR.e=true &&
flux kvs link $DIR.a $DIR.f &&
DIRREF=$(flux kvs get --treeobj $DIR) &&
flux kvs dir -R --at $DIRREF . | sort >output &&
cat >expected <<EOF &&
Expand All @@ -1024,6 +1025,7 @@ b.c.d.e.f.g = 70
c.a.b = 3.140000
d = snerg
e = true
f -> $DIR.a
EOF
test_cmp expected output
'
Expand Down

0 comments on commit bbd148e

Please sign in to comment.