mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-18 16:27:52 +00:00
Confirming multiple --source arguments work
This commit is contained in:
parent
dcd9d7738b
commit
1d2617dde1
2
tests/source-multiple-1.vars
Normal file
2
tests/source-multiple-1.vars
Normal file
@ -0,0 +1,2 @@
|
||||
export A=from1
|
||||
export B=from1
|
2
tests/source-multiple-2.vars
Normal file
2
tests/source-multiple-2.vars
Normal file
@ -0,0 +1,2 @@
|
||||
export B=from2
|
||||
export C=from2
|
3
tests/source-multiple.expected
Normal file
3
tests/source-multiple.expected
Normal file
@ -0,0 +1,3 @@
|
||||
A: from1
|
||||
B: from2
|
||||
C: from2
|
8
tests/source-multiple.sh
Executable file
8
tests/source-multiple.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user