diff options
| author | Aiden Woodruff <aiden.woodruff@gmail.com> | 2018-09-04 18:09:51 -0500 |
|---|---|---|
| committer | Aiden Woodruff <aiden.woodruff@gmail.com> | 2018-09-04 18:09:51 -0500 |
| commit | f4cb6a5879a7be0bbc15a2a04eb4977248316ad1 (patch) | |
| tree | 35ff1234c26adbdf29ee1645351749315d587eaa /test | |
| parent | 82911972c6e1b8e01e820b4e413ef684ed95bffc (diff) | |
| download | life-f4cb6a5879a7be0bbc15a2a04eb4977248316ad1.tar.gz life-f4cb6a5879a7be0bbc15a2a04eb4977248316ad1.tar.bz2 life-f4cb6a5879a7be0bbc15a2a04eb4977248316ad1.zip | |
Fix small autoconf, automake, etc. issues
autoconf: check for C preprocessor and typeof extension
automake: Change headers to be noinst
Use return at end of main, not exit
sanity sanity don't run exec
blank test correctly order redirections
Signed-off-by: Aiden Woodruff <aiden.woodruff@gmail.com>
Diffstat (limited to 'test')
| -rwxr-xr-x | test/blank.sh | 2 | ||||
| -rwxr-xr-x | test/sanity | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/blank.sh b/test/blank.sh index e375e97..33364de 100755 --- a/test/blank.sh +++ b/test/blank.sh | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | echo -n 'q' | ../src/life 2>&1 > /dev/null | 3 | echo -n 'q' | ../src/life > /dev/null 2>&1 |
diff --git a/test/sanity b/test/sanity index e2a8af0..376fae9 100755 --- a/test/sanity +++ b/test/sanity | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | exec ../src/life -V > /dev/null 2>&1 | 3 | ../src/life -V > /dev/null 2>&1 |
