Add tests for cat and fix a couple issues

This commit is contained in:
Jordi Boggiano
2013-10-22 15:31:51 +02:00
parent 61a232eb0a
commit 13fd72e1f2
5 changed files with 95 additions and 4 deletions
+7
View File
@@ -9,4 +9,11 @@ build:
sh -c 'rustc --out-dir build/ cat/cat.rs'
sh -c 'rustc --out-dir build/ whoami/whoami.rs'
test:
rm -rf tmp
mkdir tmp
sh -c 'rustc -o tmp/cat_test cat/test.rs'
sh -c 'tmp/cat_test'
rm -rf tmp
.PHONY: build