zfs test zpool_create_020_pos leaves a directory behind
The zpool_create_020_pos test leaves behind a directory at /testpool.root, likely due to a copy/paste error. On subsequent test runs, this directory being present when the test begins causes the test to fail.
Updated by Kody Kantor 6 months ago
To test this I created a runfile that only ran the test in question. It passes consistently after this change.
$ ./zfstest -c ../kkantor.run
Test: /opt/zfs-tests/tests/functional/cli_root/zpool_create/setup (run as root) [00:05] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_020_pos (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zpool_create/cleanup (run as root) [00:00] [PASS]
Running Time: 00:00:07
Percent passed: 100.0%
Log directory: /var/tmp/test_results/20190605T160902
Updated by Electric Monk 6 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 6c97119c7cb695abdfe81ac4b666f5c67eb77ed7 Author: Kody Kantor <email@example.com> Date: 2019-06-06T03:59:06.000Z 11201 zfs test zpool_create_020_pos leaves a directory behind Reviewed by: John Kennedy <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Reviewed by: Jerry Jelinek <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>