summaryrefslogtreecommitdiff
path: root/testcases/016-ethernet-down
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/016-ethernet-down')
-rw-r--r--testcases/016-ethernet-down/expected_output.txt1
-rw-r--r--testcases/016-ethernet-down/i3status.conf10
2 files changed, 11 insertions, 0 deletions
diff --git a/testcases/016-ethernet-down/expected_output.txt b/testcases/016-ethernet-down/expected_output.txt
new file mode 100644
index 0000000..be02a09
--- /dev/null
+++ b/testcases/016-ethernet-down/expected_output.txt
@@ -0,0 +1 @@
+E: down
diff --git a/testcases/016-ethernet-down/i3status.conf b/testcases/016-ethernet-down/i3status.conf
new file mode 100644
index 0000000..7835053
--- /dev/null
+++ b/testcases/016-ethernet-down/i3status.conf
@@ -0,0 +1,10 @@
+general {
+ output_format = "none"
+}
+
+order += "ethernet nonsense"
+
+ethernet nonsense {
+ format_up = "E: %ip (%speed)"
+ format_down = "E: down"
+}