Commit 43a4c5ab authored by Peter Pentchev's avatar Peter Pentchev

Run the program directly in the tests.

parent 5ecec274
......@@ -46,7 +46,7 @@ test: all
${PERL} -c ${TEST_SCRIPT}
@echo "=== Basic version/usage functionality"
${PERL} ${TEST_SCRIPT} -V -h
${TEST_SCRIPT} -V -h
@echo
@echo "=== Long options for version and usage"
......@@ -54,13 +54,13 @@ test: all
${TEST_SCRIPT} --help
@echo "=== Error out on invalid options"
! ${PERL} ${TEST_SCRIPT} -X
! ${TEST_SCRIPT} -X
! ${TEST_SCRIPT} --whee
@echo
@if [ -r "/proc/net/dev" ]; then \
echo "=== A single run"; \
${PERL} ${TEST_SCRIPT} -n3 -c2; \
${TEST_SCRIPT} -n3 -c2; \
else \
echo "=== Skipping the single run"; \
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment