mirror_zfs/tests/zfs-tests/include
Tony Hutter 123bfc32f3 ZTS: Print warning if running ZTS user_run test locally
Print a warning if you're attempting to run a ZTS test that calls
'user_run', and the ephemeral user doesn't have permissions to
access the test binaries.

This can happen if you're running ZTS from a local git repo.  In
that case the test user (say, 'testuser1') may need access to the
ZTS binaries in:

/home/<your_username>/zfs/tests/zfs-tests/bin/

... but 'testuser1' doesn't have permission to enter your home dir:

/home/<your_username>

The warning will help alert users to what is going on.  This will
not be an issue when ZTS is actually installed on the system
(via 'make install' or from packages).

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #17721
2025-09-10 15:01:42 -07:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
blkdev.shlib SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
commands.cfg cmd: rename arcstat to zarcstat 2025-09-10 15:01:20 -07:00
default.cfg.in SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
kstat.shlib SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libtest.shlib ZTS: Print warning if running ZTS user_run test locally 2025-09-10 15:01:42 -07:00
math.shlib SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
properties.shlib SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
tunables.cfg Add TXG timestamp database 2025-08-06 10:31:21 -07:00
zpool_script.shlib tests: review every awk(1) invocation 2022-04-01 17:57:55 -07:00