diff options
author | kartofen <mladenovnasko0@gmail.com> | 2023-04-28 00:54:59 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2023-04-28 00:54:59 +0300 |
commit | 7395f6ec5385cd4895755c0c48e878a01214ef1c (patch) | |
tree | 179d108430d6a6e580ab846f0ea0ea2af26921ae /src/tests/test1.sh | |
parent | 2c0f30c29b4b70a45ba01a0c32ae31ac7f75625b (diff) |
added testing framework
Diffstat (limited to 'src/tests/test1.sh')
-rwxr-xr-x | src/tests/test1.sh | 12 |
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 |