From: Luca Boccassi Date: Wed, 22 Aug 2018 18:09:03 +0000 (+0100) Subject: testsuite: run dmesg with sudo X-Git-Tag: v4.19.0~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88ecd4873b8fabf84006f8122f8533f39bc79ba4;p=thirdparty%2Fiproute2.git testsuite: run dmesg with sudo Some distributions like Debian nowadays restrict the dmesg command to root-only. Run it with sudo in the testsuite. Signed-off-by: Luca Boccassi Signed-off-by: Stephen Hemminger --- diff --git a/testsuite/Makefile b/testsuite/Makefile index 39bf1d4eb..d1ac997d7 100644 --- a/testsuite/Makefile +++ b/testsuite/Makefile @@ -85,5 +85,5 @@ endif echo "PASS"; \ fi; \ rm "$$TMP_ERR" "$$TMP_OUT"; \ - dmesg > $(RESULTS_DIR)/$@.$$o.dmesg; \ + sudo dmesg > $(RESULTS_DIR)/$@.$$o.dmesg; \ done