17 lines
147 B
Bash
Executable file
17 lines
147 B
Bash
Executable file
#!/bin/bash
|
|
|
|
TEST_FILE=test_$1.sh
|
|
|
|
test_success=0
|
|
|
|
source ./$TEST_FILE
|
|
|
|
function do_it() {
|
|
pre
|
|
body
|
|
post
|
|
return $?
|
|
}
|
|
|
|
do_it
|
|
exit $test_success
|