diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2022-08-09 22:11:08 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2022-08-09 22:13:32 +0200 |
commit | 62568248007f11e7120aa9340f6bf3bf85cbc1c9 (patch) | |
tree | 41fa934fa023332d067eb8778de865cb44e50e5e | |
parent | 919daf619441d370eb68d8c11b7a962127567c5f (diff) |
(test) Stored roots lookup
-rw-r--r-- | storage.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/storage.test b/storage.test index 2ce87d5..10f5d2c 100644 --- a/storage.test +++ b/storage.test @@ -45,6 +45,18 @@ test: send to p1 "stored-generation $r4" expect from p1 /stored-generation $r4 2/ + send to p1 "stored-roots $r1" + expect from p1 /stored-roots $r1 $r1/ + + send to p1 "stored-roots $r2" + expect from p1 /stored-roots $r2 $r1/ + + send to p1 "stored-roots $r3" + expect from p1 /stored-roots $r3 $r1/ + + send to p1 "stored-roots $r4" + expect from p1 /stored-roots $r4 $r1/ + # Attach second root send to p1: "store rec" @@ -73,3 +85,9 @@ test: send to p1 "stored-generation $r2_2" expect from p1 /stored-generation $r2_2 1/ + + send to p1 "stored-roots $r2_3" + expect from p1 /stored-roots $r2_3 $r2_1 $r1/ + + send to p1 "stored-roots $r2_2" + expect from p1 /stored-roots $r2_2 $r2_1/ |