6643 zfstest should enforce the required privileges before running.

Reviewed by: George Wilson <[email protected]>
Reviewed by: Jonathan Mackenzie <[email protected]>

Lines of output that happen in the same hundredth of a second are
printed in alphabetical order, not the order in which they were
received.

Fix is to modify the sorting done on output lines to sort by timestamp,
but leave the lines in the order they arrived.

The script currently requires users to drop privs before running it. It
should just run the runner script with the required privs.

Fix is to always run the tests under ppriv.
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/68

-- Commit Summary --

  * 6642 testrunner output can be displayed in the wrong order

-- File Changes --

    M usr/src/test/test-runner/cmd/run.py (10)
    M usr/src/test/zfs-tests/cmd/scripts/zfstest.ksh (9)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/68.patch
https://github.com/openzfs/openzfs/pull/68.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/68
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to