From d9ad091ba1eaf59883f060d232cf103d7142cb0d Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 9 Oct 2019 16:50:21 -0400 Subject: Improve tests --- tests/test-extract-with-vars-and-apply.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/test-extract-with-vars-and-apply.sh (limited to 'tests/test-extract-with-vars-and-apply.sh') diff --git a/tests/test-extract-with-vars-and-apply.sh b/tests/test-extract-with-vars-and-apply.sh new file mode 100644 index 0000000..e7e176b --- /dev/null +++ b/tests/test-extract-with-vars-and-apply.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +wai=$(dirname $(readlink -f $0)) +source "${wai}/include.sh" +tmp=$(mktemp) + +##### Test extract theme on a config file then apply it +$exec extract ${data}/config-with-vars > $tmp +$exec apply -d $tmp ${data}/config +rm $tmp + -- cgit v1.2.3