[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/4] tests: Add /sbin and /usr/sbin to path in partmap test

From: Glenn Washburn
Subject: [PATCH 2/4] tests: Add /sbin and /usr/sbin to path in partmap test
Date: Wed, 11 May 2022 22:19:45 -0500

The partmap test requires no elevated privileges. However, it uses parted
which can be used as a normal user, but is usually located in /sbin or
/usr/bin (eg. on Debian systems). Whereas the normal user does not usually
have /sbin or /usr/sbin added to their path, thus parted will not be found
causing the test to abort. Add /sbin and /usr/sbin to the path for the
partmap test so that the test can run successfully as an unprivileged user.

Signed-off-by: Glenn Washburn <>
 tests/ | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/ b/tests/
index a73c473b0..4138e88fe 100644
--- a/tests/
+++ b/tests/
@@ -19,6 +19,8 @@ set -e
 . "@builddir@/grub-core/"
 create_disk_image () {

reply via email to

[Prev in Thread] Current Thread [Next in Thread]