mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-25 17:51:12 +00:00
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 <bluca@debian.org> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
012895ce4e
commit
88ecd4873b
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user