summaryrefslogtreecommitdiff
path: root/tests/bf/test.sh
blob: 8b76794268373d9febe99cd50d8f707ac15fa3b0 (plain)
1
2
3
4
5
6
7
8
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