diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-08-20 09:12:44 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-08-20 09:12:44 +0200 |
commit | e2289e28a55f0f340103cf0cc99d08fc63f48887 (patch) | |
tree | 617e56816b2c8488aedcc7a4bffd7724b3eab6cf /tests/modules/exec_test | |
parent | d9094a67ac5cfe0ca392746b62ac8fe9b18a8785 (diff) | |
download | crawler-e2289e28a55f0f340103cf0cc99d08fc63f48887.tar.gz crawler-e2289e28a55f0f340103cf0cc99d08fc63f48887.tar.bz2 |
added a module test (Windows)
Diffstat (limited to 'tests/modules/exec_test')
-rwxr-xr-x | tests/modules/exec_test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/modules/exec_test b/tests/modules/exec_test new file mode 100755 index 0000000..d2d606f --- /dev/null +++ b/tests/modules/exec_test @@ -0,0 +1,8 @@ +#!/bin/sh + +BINARY=$1 +TITLE=$2 + +printf "$BINARY: $TITLE .. " +./$BINARY >$BINARY.RES 2>&1 +diff $BINARY.MUST $BINARY.RES > $BINARY.DIFF && printf "OK\n" || printf "ERROR\n" |