Confirming multiple --source arguments work

This commit is contained in:
Tyler Akins 2020-10-01 07:37:48 -05:00
parent dcd9d7738b
commit 1d2617dde1
4 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,2 @@
export A=from1
export B=from1

View File

@ -0,0 +1,2 @@
export B=from2
export C=from2

View File

@ -0,0 +1,3 @@
A: from1
B: from2
C: from2

8
tests/source-multiple.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
cd "${0%/*}" || exit 1
cat <<EOF | ../mo --source=source-multiple-1.vars --source=source-multiple-2.vars
A: {{A}}
B: {{B}}
C: {{C}}
EOF