From: Ian Jackson Date: Sat, 15 May 2021 16:15:48 +0000 (+0100) Subject: bundles: Test clear game X-Git-Tag: otter-0.6.0~280 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0549cad6770dfd20b5087631418d0d0b731ffcfe;p=otter.git bundles: Test clear game Signed-off-by: Ian Jackson --- diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index fd4ff250..d42f47f5 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -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)]