From 0549cad6770dfd20b5087631418d0d0b731ffcfe Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 15 May 2021 17:15:48 +0100 Subject: [PATCH] bundles: Test clear game Signed-off-by: Ian Jackson --- apitest/at-otter.rs | 3 +++ 1 file changed, 3 insertions(+) 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)] -- 2.30.2