summaryrefslogtreecommitdiff
path: root/testcases/017-wireless-down
diff options
context:
space:
mode:
authorEmeric Planet <emeric.planet@datadoghq.com>2017-11-20 19:51:48 +0100
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2017-11-20 19:51:48 +0100
commit6464ae2df9f784e7b657ed5e36923f2a3062356e (patch)
tree74e0175841fd2fbeecdffcd50681e8dbca244944 /testcases/017-wireless-down
parent7ea12e3dffef8299fa6f6549820ca67dad4f0b7d (diff)
Add network test cases (#246)
Diffstat (limited to 'testcases/017-wireless-down')
-rw-r--r--testcases/017-wireless-down/expected_output.txt1
-rw-r--r--testcases/017-wireless-down/i3status.conf10
2 files changed, 11 insertions, 0 deletions
diff --git a/testcases/017-wireless-down/expected_output.txt b/testcases/017-wireless-down/expected_output.txt
new file mode 100644
index 0000000..aa33e33
--- /dev/null
+++ b/testcases/017-wireless-down/expected_output.txt
@@ -0,0 +1 @@
+W: down
diff --git a/testcases/017-wireless-down/i3status.conf b/testcases/017-wireless-down/i3status.conf
new file mode 100644
index 0000000..0cfc964
--- /dev/null
+++ b/testcases/017-wireless-down/i3status.conf
@@ -0,0 +1,10 @@
+general {
+ output_format = "none"
+}
+
+order += "wireless nonsense"
+
+wireless nonsense {
+ format_up = "W: (%quality at %essid) %ip"
+ format_down = "W: down"
+}