aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test1.sh')
-rwxr-xr-xsrc/tests/test1.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/test1.sh b/src/tests/test1.sh
new file mode 100755
index 0000000..52c2ba3
--- /dev/null
+++ b/src/tests/test1.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+. ./framework.sh
+
+plan 2
+
+is "$(cat /proc/_test_module)" "You have no previous messages"
+
+echo kek > /proc/_test_module
+is "$(cat /proc/_test_module)" "Your last message was: kek"
+
+conclude