Fixes containers/bubblewrap#420 using the proposed approach of defining ok(), done_testing(), and shifting the TAP plan from being written at the start to being written at the end. I also introduced an ok_skip() function, but I'm happy to change all uses to ok "# SKIP ..." if you prefer that.
This pull request also has two trivial fixes to the tests:
A typo in a test case ("prefxing" -> "prefixing"
Switch the last /bin/bash to just bash (there are five references to bash, the other four--including #!/usr/bin/env bash-- all use the bash on the $PATH)
Let me know if you'd rather these two changes were in separate pull requests.
Fixes containers/bubblewrap#420 using the proposed approach of defining ok(), done_testing(), and shifting the TAP plan from being written at the start to being written at the end. I also introduced an ok_skip() function, but I'm happy to change all uses to ok "# SKIP ..." if you prefer that.
This pull request also has two trivial fixes to the tests:
Let me know if you'd rather these two changes were in separate pull requests.