aboutsummaryrefslogtreecommitdiffstats
path: root/test/03-flush.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/03-flush.test')
-rw-r--r--test/03-flush.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/03-flush.test b/test/03-flush.test
new file mode 100644
index 0000000..435f534
--- /dev/null
+++ b/test/03-flush.test
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+header "bosun flush"
+
+assert success "flush" "$BOSUN_CMD" flush
+
+want <<EOF
+d .
+EOF
+
+have_dir
+assert_output_matches "no roles remaining"
+
+end