aboutsummaryrefslogtreecommitdiff
path: root/tests/test-extract-with-vars-and-apply.sh
blob: e7e176b678db33524121268088aa7e3389edf315 (plain)
1
2
3
4
5
6
7
8
9
10
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