diff mbox

[3/4] kvm-xfstests: do not assume /sbin/ in PATH

Message ID 1470265093-86525-4-git-send-email-kirill.shutemov@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kirill A . Shutemov Aug. 3, 2016, 10:58 p.m. UTC
When kvm-xfstests run from non-root, PATH usually doesn't contain /sbin
and /usr/sbin.

Let's call '/sbin/mke2fs' insetead of 'mke2fs'

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
---
 kvm-xfstests/setup | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Theodore Ts'o Aug. 5, 2016, 9:25 p.m. UTC | #1
On Thu, Aug 04, 2016 at 01:58:12AM +0300, Kirill A. Shutemov wrote:
> When kvm-xfstests run from non-root, PATH usually doesn't contain /sbin
> and /usr/sbin.
> 
> Let's call '/sbin/mke2fs' insetead of 'mke2fs'
> 
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

Thanks, applied.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/kvm-xfstests/setup b/kvm-xfstests/setup
index 6d78df60e784..1d61099ca399 100755
--- a/kvm-xfstests/setup
+++ b/kvm-xfstests/setup
@@ -5,8 +5,8 @@  qemu-img create -f raw vdd 5g
 qemu-img create -f raw vde 20g
 qemu-img create -f raw vdf 20g
 qemu-img create -f raw vdg 5g
-mke2fs -t ext4 -F vdb
-mke2fs -t ext4 -b 1024 -F vdd
-mke2fs -t ext4 -F vdg
+/sbin/mke2fs -t ext4 -F vdb
+/sbin/mke2fs -t ext4 -b 1024 -F vdd
+/sbin/mke2fs -t ext4 -F vdg