From daf715929a2f9f184eca16cbcb6f685f719219bf Mon Sep 17 00:00:00 2001 From: jmjatlanta Date: Wed, 27 Sep 2017 05:52:53 -0500 Subject: [PATCH] beginning of test scripts --- test/scripts/run_test.sh | 10 ++++++++++ test/scripts/run_tests.sh | 4 ++++ test/scripts/test_1.sh | 15 +++++++++++++++ 3 files changed, 29 insertions(+) create mode 100755 test/scripts/run_test.sh create mode 100755 test/scripts/run_tests.sh create mode 100755 test/scripts/test_1.sh diff --git a/test/scripts/run_test.sh b/test/scripts/run_test.sh new file mode 100755 index 0000000..79ea10b --- /dev/null +++ b/test/scripts/run_test.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +TEST_FILE=$1 + +source ./$TEST_FILE + +pre +body +post + diff --git a/test/scripts/run_tests.sh b/test/scripts/run_tests.sh new file mode 100755 index 0000000..2e84b8b --- /dev/null +++ b/test/scripts/run_tests.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +./run_test.sh test_1.sh + diff --git a/test/scripts/test_1.sh b/test/scripts/test_1.sh new file mode 100755 index 0000000..3acbd4f --- /dev/null +++ b/test/scripts/test_1.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +function pre { +echo 'in pre'; +} + +function post { +echo 'in post'; +} + +function body { + echo 'in body'; +} + +