]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests: execute rtmon to keep a trace of netlink messages
authorVincent Bernat <vincent@bernat.im>
Thu, 4 Feb 2016 19:03:20 +0000 (20:03 +0100)
committerVincent Bernat <vincent@bernat.im>
Thu, 4 Feb 2016 19:26:18 +0000 (20:26 +0100)
tests/integration-tests.in

index a5eb0d96e168fcca1bd7f5523df9f3b1a02e432e..801da40b28e29416360b3b4d06deef26300d4701 100755 (executable)
@@ -443,6 +443,7 @@ case $$,$STATE in
                 ip -6 addr add 2001:db8::cafe:17/64 dev iface1
                 ;;
         esac
+        rtmon file /mnt/lab/tests/${uts}.rtmon &
         process_commands 2>&1 | tee /mnt/lab/tests/${uts}.output
         ;;
 
@@ -486,7 +487,7 @@ case $$,$STATE in
             -e 's/^\(      Firmware Revision: \).*/\1/' \
             R1.output > R1.output.redacted
         diff -u @srcdir@/R1.expected R1.output.redacted || \
-            log_warn_msg "Unexpected differences"
+            log_error_msg "Unexpected differences"
 
         log_info_msg "End of tests"
         ;;