ZTS: Fix zpool_reguid Makefile.am and tests
commitb2ca5105b721d572ceefdaf57d3ed498f7ea5553
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 25 Sep 2024 14:50:04 +0000 (25 07:50 -0700)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2024 14:50:04 +0000 (25 07:50 -0700)
treec49cc2eb77ef6d133d82a59c6d7f2de65b3495d3
parent05a7a9594e075c3393db270903b038fe1e7f0ddd
ZTS: Fix zpool_reguid Makefile.am and tests

The zpool_reguid tests were not being included the dist tarball
resulting in them not running.  This is reported as a "failed
verification" warning by the CI.  Add the tests to the correct
Makefile.am.

Additionally, remove the usage of 'bc -e <expr>' from the tests.
This option is only supported by the FreeBSD version of bc.

Update the test case to reflect the 0 is not a valid GUID.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #16559
tests/zfs-tests/tests/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zpool_reguid/Makefile.am [deleted file]
tests/zfs-tests/tests/functional/cli_root/zpool_reguid/zpool_reguid_001_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_reguid/zpool_reguid_002_neg.ksh