summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-12-01 13:12:03 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-12-01 13:12:03 +0100
commit45a2389735d6f981b5566680e5a820400f607afc (patch)
tree3757cc1b3d2f7165ce0892db7065fa71da9c8dc7
parent41a6aa36f216e3020c51643c0dc8fce926d67b98 (diff)
test/main: Apply patches by mxey
-rwxr-xr-xtest/main4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/main b/test/main
index 8f65706..dec212e 100755
--- a/test/main
+++ b/test/main
@@ -106,7 +106,7 @@ unset hello
echo "# $envstore save (multiple 's in value)"
$envstore save hello "the '' ' dude ' moose"
-eval $(envstore eval)
+eval $($envstore eval)
[[ $hello == "the '' ' dude ' moose" ]]
unset hello
@@ -144,7 +144,7 @@ if ((test_extended)) {
echo "# envify"
$envstore save oaei lalala
- [[ $(bin/envify sh test/envify) == lalala ]]
+ [[ $(PATH=${envstore:h}:$PATH bin/envify sh test/envify) == lalala ]]
$envstore clear
}