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 | c6d01458b4545500a964491c2602da3c3079bfc2 (patch) | |
tree | 6c0223c388c30880f813c639e1ad80f8b2b0ebe1 /test/storage.test | |
parent | 7aa7649e980ff4b335b41eaea34a9a11820c3e2d (diff) |
Stored roots lookup
Diffstat (limited to 'test/storage.test')
-rw-r--r-- | test/storage.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/storage.test b/test/storage.test index 2ce87d5..10f5d2c 100644 --- a/test/storage.test +++ b/test/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/ |