Re: [PATCH] test: use correct path in file system tests

2020-04-21 Thread Simon Glass
Hi Heinrich, On Tue, 21 Apr 2020 at 04:46, Heinrich Schuchardt wrote: > > For non-root users mkfs.ext4 and fsck.ext4 are not in the search path at > least on Debian. Use /sbin/mkfs.ext4 and /sbin/fsck.ext4 instead. > > Signed-off-by: Heinrich Schuchardt > --- >

Re: [PATCH] test: use correct path in file system tests

2020-04-21 Thread Stephen Warren
On 4/21/20 4:41 AM, Heinrich Schuchardt wrote: > For non-root users mkfs.ext4 and fsck.ext4 are not in the search path at > least on Debian. Use /sbin/mkfs.ext4 and /sbin/fsck.ext4 instead. Why not just set $PATH correctly before running the tests? This change prevents the code from finding mkfs

[PATCH] test: use correct path in file system tests

2020-04-21 Thread Heinrich Schuchardt
For non-root users mkfs.ext4 and fsck.ext4 are not in the search path at least on Debian. Use /sbin/mkfs.ext4 and /sbin/fsck.ext4 instead. Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_fs/conftest.py | 2 +- test/py/tests/test_fs/fstest_helpers.py | 2 +- 2 files changed, 2