mirror_zfs/tests/zfs-tests
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
..
callbacks ZTS: include microsecond timestamps on all output 2025-08-06 09:44:49 -07:00
cmd Fix the build of crypto_test on LP32 architectures 2025-09-10 15:01:37 -07:00
include ZTS: Print warning if running ZTS user_run test locally 2025-09-10 15:01:42 -07:00
tests Add allocation profile export and zhack subcommand for import 2025-09-10 15:01:28 -07:00
.gitignore autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am ZTS: reimplement kstat helper function 2025-01-21 10:12:07 -08:00