beginning of test scripts
parent
2cc7f52fbf
commit
daf715929a
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
TEST_FILE=$1
|
||||
|
||||
source ./$TEST_FILE
|
||||
|
||||
pre
|
||||
body
|
||||
post
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
./run_test.sh test_1.sh
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
function pre {
|
||||
echo 'in pre';
|
||||
}
|
||||
|
||||
function post {
|
||||
echo 'in post';
|
||||
}
|
||||
|
||||
function body {
|
||||
echo 'in body';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue