test: Include /sbin to the PATH when creating file system
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 10 Jun 2021 15:08:42 +0000 (18:08 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 23 Jun 2021 12:45:03 +0000 (08:45 -0400)
commitb2710faf82998d7be9e4eef554063a5e27e88ec9
treeaa741bbc7cb8e0208b7e21c870fdc39f9ca99ae6
parentaf8e2d474662d2eaa518794da6ffdfc95d47859d
test: Include /sbin to the PATH when creating file system

On some distributions the mkfs is under /sbin and /sbin is not set
for mere users. Include /sbin to the PATH when creating file system,
so that users won't get a scary traceback from Python.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
test/py/tests/test_fs/conftest.py