diff options
Diffstat (limited to 'tests/test-simple-apply.sh')
| -rw-r--r-- | tests/test-simple-apply.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test-simple-apply.sh b/tests/test-simple-apply.sh new file mode 100644 index 0000000..e5ab960 --- /dev/null +++ b/tests/test-simple-apply.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +wai=$(dirname $(readlink -f $0)) +source "${wai}/include.sh" + +##### Load config file +config_file=$(load ${data}/config) + +##### Test apply on theme with no variables +$exec apply ${data}/google ${config_file} +cat $config_file +##### Test apply on theme with variables +$exec apply ${data}/seti ${config_file} +cat $config_file + +##### Clear temporary file +rm $config_file |
