mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-26 09:05:18 +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"; \
|
echo "PASS"; \
|
||||||
fi; \
|
fi; \
|
||||||
rm "$$TMP_ERR" "$$TMP_OUT"; \
|
rm "$$TMP_ERR" "$$TMP_OUT"; \
|
||||||
dmesg > $(RESULTS_DIR)/$@.$$o.dmesg; \
|
sudo dmesg > $(RESULTS_DIR)/$@.$$o.dmesg; \
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user