Commit 9a9c3b77 authored by Peter Pentchev's avatar Peter Pentchev

Add some trivial tests.

parent 9cfec2f9
Pipeline #479336 skipped
......@@ -34,7 +34,21 @@ install: all
${INSTALL_SCRIPT} ${SCRIPT} ${DESTDIR}${BINDIR}/
test: all
@echo "No tests available for ethtool"
@echo "=== Basic version/usage functionality"
./${SCRIPT} -Vh
@echo
@echo "=== Error out on invalid options"
! ./${SCRIPT} -X
@echo
@if [ -r "/proc/net/dev" ]; then \
echo "=== A single run"; \
./${SCRIPT} -n3 -c2; \
else \
echo "=== Skipping the single run"; \
fi
@echo
${SCRIPT}: ${SRC}
${INSTALL_EXEC} ${SRC} ${SCRIPT}
......
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