diff --git a/tests/source-multiple-1.vars b/tests/source-multiple-1.vars new file mode 100644 index 0000000..433ea91 --- /dev/null +++ b/tests/source-multiple-1.vars @@ -0,0 +1,2 @@ +export A=from1 +export B=from1 diff --git a/tests/source-multiple-2.vars b/tests/source-multiple-2.vars new file mode 100644 index 0000000..55b5263 --- /dev/null +++ b/tests/source-multiple-2.vars @@ -0,0 +1,2 @@ +export B=from2 +export C=from2 diff --git a/tests/source-multiple.expected b/tests/source-multiple.expected new file mode 100644 index 0000000..c9f29f8 --- /dev/null +++ b/tests/source-multiple.expected @@ -0,0 +1,3 @@ +A: from1 +B: from2 +C: from2 diff --git a/tests/source-multiple.sh b/tests/source-multiple.sh new file mode 100755 index 0000000..7c3023c --- /dev/null +++ b/tests/source-multiple.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +cd "${0%/*}" || exit 1 +cat <