1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

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

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