diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-23 21:44:03 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-23 21:44:03 -0400 |
commit | 6ed3d421006f7d56c5d96fbaf1b971bb3561d1ed (patch) | |
tree | d07d834074d0aee20aaa723a7394e33f0dc657fe /tests/bf/test.sh | |
parent | e540f6475c1306370c5faf15fc3a0c1e46ba3caf (diff) |
added a test
Diffstat (limited to 'tests/bf/test.sh')
-rwxr-xr-x | tests/bf/test.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/bf/test.sh b/tests/bf/test.sh new file mode 100755 index 0000000..8b76794 --- /dev/null +++ b/tests/bf/test.sh @@ -0,0 +1,9 @@ +#!/bin/sh +if [ "$(cat hw0.bf | ./bf.bin)" != "Hello World!" ]; then + echo "hello world 0 failed." + exit 1 +fi +if [ "$(cat hw1.bf | ./bf.bin)" != "Hello World!" ]; then + echo "hello world 1 failed." + exit 1 +fi |