chiark / gitweb /
bundles: Test clear game
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 May 2021 16:15:48 +0000 (17:15 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 May 2021 16:17:55 +0000 (17:17 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
apitest/at-otter.rs

index fd4ff250013dc49bbb4db0e7c26f8289d683c298..d42f47f50c96f5430a06bf862f11b87cc7540e55 100644 (file)
@@ -710,6 +710,9 @@ impl Ctx {
     self.otter(&ds.ss("download-bundle @table@ 0")?)?;
     let st = Command::new("cmp").args(&[&bundle_file, "00000.zip"]).status()?;
     if ! st.success() { panic!("cmp failed {}", st) }
+
+    self.otter(&ds.ss("clear-game @table@")?)?;
+    self.otter(&ds.ss("reset @table@ demo")?)?;
   }
 
   #[throws(Explode)]