mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-05-16 15:34:50 -06:00
Kaj Forney
4fdc60b6a2
Former-commit-id: 9f5a64d372
Former-commit-id: 89d8a1302bd2a72239fbe9ad9820be4ecda76cab
18 lines
439 B
Bash
Executable file
18 lines
439 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# This file is used to run "tmux-test" framework tests.
|
|
|
|
# "setup" script is needed to run the tests, but it overrides some working dir
|
|
# files. To address that, "setup" is run before the tests and it's actions are
|
|
# undone after.
|
|
|
|
main() {
|
|
git clone https://github.com/tmux-plugins/tmux-test lib/tmux-test
|
|
lib/tmux-test/setup
|
|
./run_tests
|
|
local exit_value=$?
|
|
lib/tmux-test/setup "undo"
|
|
exit "$exit_value"
|
|
}
|
|
main
|