diff options
Diffstat (limited to 'testcases')
5 files changed, 22 insertions, 0 deletions
diff --git a/testcases/020-percentliteral-cpu_temperature/expected_output.txt b/testcases/020-percentliteral-cpu_temperature/expected_output.txt new file mode 100644 index 0000000..a0c0525 --- /dev/null +++ b/testcases/020-percentliteral-cpu_temperature/expected_output.txt @@ -0,0 +1 @@ +I can %haz literal% % ? diff --git a/testcases/020-percentliteral-cpu_temperature/i3status.conf b/testcases/020-percentliteral-cpu_temperature/i3status.conf new file mode 100644 index 0000000..b1c4008 --- /dev/null +++ b/testcases/020-percentliteral-cpu_temperature/i3status.conf @@ -0,0 +1,10 @@ +general { + output_format = "none" +} + +order += "cpu_temperature 0" + +cpu_temperature 0 { + format = "I can %haz literal% % ?" + path = "testcases/020-percentliteral-cpu_temperature/temp1_input" +}
\ No newline at end of file diff --git a/testcases/020-percentliteral-cpu_temperature/temp1_input b/testcases/020-percentliteral-cpu_temperature/temp1_input new file mode 100644 index 0000000..a90c8f8 --- /dev/null +++ b/testcases/020-percentliteral-cpu_temperature/temp1_input @@ -0,0 +1 @@ +37000
\ No newline at end of file diff --git a/testcases/020-percentliteral-ddate/expected_output.txt b/testcases/020-percentliteral-ddate/expected_output.txt new file mode 100644 index 0000000..a0c0525 --- /dev/null +++ b/testcases/020-percentliteral-ddate/expected_output.txt @@ -0,0 +1 @@ +I can %haz literal% % ? diff --git a/testcases/020-percentliteral-ddate/i3status.conf b/testcases/020-percentliteral-ddate/i3status.conf new file mode 100644 index 0000000..0e0f9c3 --- /dev/null +++ b/testcases/020-percentliteral-ddate/i3status.conf @@ -0,0 +1,9 @@ +general { + output_format = "none" +} + +order += "ddate" + +ddate { + format = "I can %haz literal% % ?" +} |