beginning of test scripts

yamux
jmjatlanta 2017-09-27 05:52:53 -05:00
parent 2cc7f52fbf
commit daf715929a
3 changed files with 29 additions and 0 deletions

10
test/scripts/run_test.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
TEST_FILE=$1
source ./$TEST_FILE
pre
body
post

4
test/scripts/run_tests.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
./run_test.sh test_1.sh

15
test/scripts/test_1.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
function pre {
echo 'in pre';
}
function post {
echo 'in post';
}
function body {
echo 'in body';
}