From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Boccassi Subject: [PATCH iproute2 3/3] testsuite: run dmesg with sudo Date: Wed, 22 Aug 2018 19:09:03 +0100 Message-ID: <20180822180903.26443-3-bluca@debian.org> References: <20180822180903.26443-1-bluca@debian.org> Cc: stephen@networkplumber.org, stefan.bader@canonical.com To: netdev@vger.kernel.org Return-path: Received: from mail-wr1-f67.google.com ([209.85.221.67]:38434 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727786AbeHVVfN (ORCPT ); Wed, 22 Aug 2018 17:35:13 -0400 Received: by mail-wr1-f67.google.com with SMTP id w11-v6so2359200wrc.5 for ; Wed, 22 Aug 2018 11:09:18 -0700 (PDT) In-Reply-To: <20180822180903.26443-1-bluca@debian.org> Sender: netdev-owner@vger.kernel.org List-ID: Some distributions like Debian nowadays restrict the dmesg command to root-only. Run it with sudo in the testsuite. Signed-off-by: Luca Boccassi --- testsuite/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/Makefile b/testsuite/Makefile index 5e269877..ef45d5a7 100644 --- a/testsuite/Makefile +++ b/testsuite/Makefile @@ -79,5 +79,5 @@ endif echo "PASS"; \ fi; \ rm "$$TMP_ERR" "$$TMP_OUT"; \ - dmesg > $(RESULTS_DIR)/$@.$$o.dmesg; \ + sudo dmesg > $(RESULTS_DIR)/$@.$$o.dmesg; \ done -- 2.18.0