forked from agorise/c-ipfs
beginning of test scripts
This commit is contained in:
parent
2cc7f52fbf
commit
daf715929a
3 changed files with 29 additions and 0 deletions
10
test/scripts/run_test.sh
Executable file
10
test/scripts/run_test.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
TEST_FILE=$1
|
||||
|
||||
source ./$TEST_FILE
|
||||
|
||||
pre
|
||||
body
|
||||
post
|
||||
|
4
test/scripts/run_tests.sh
Executable file
4
test/scripts/run_tests.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
./run_test.sh test_1.sh
|
||||
|
15
test/scripts/test_1.sh
Executable file
15
test/scripts/test_1.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
function pre {
|
||||
echo 'in pre';
|
||||
}
|
||||
|
||||
function post {
|
||||
echo 'in post';
|
||||
}
|
||||
|
||||
function body {
|
||||
echo 'in body';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in a new issue