summaryrefslogtreecommitdiff
path: root/test/main
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-18 11:42:33 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-18 11:42:33 +0200
commit87b64249a9e9fe8f64222a079f20afe526337365 (patch)
treed36c870436ea69e21c2cea317d1d06cba3184c62 /test/main
parent710a886e087caed17c4b9958c1af99967d4e72fb (diff)
test/main: Fixed envstore invocation
Diffstat (limited to 'test/main')
-rwxr-xr-xtest/main4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/main b/test/main
index cdded87..9386794 100755
--- a/test/main
+++ b/test/main
@@ -117,7 +117,7 @@ if ((test_security)) {
echo "# world-writable store file"
$envstore save fucked yes
chmod 777 $store_file
- [[ $(envstore eval) != *fucked=yes* ]]
+ [[ $($envstore eval) != *fucked=yes* ]]
rm $store_file
$envstore save fucked yes
cat <<- ente
@@ -126,7 +126,7 @@ if ((test_security)) {
ente
echo -n "[press return when done] "
read
- [[ $(envstore eval) != *fucked=yes* ]]
+ [[ $($envstore eval) != *fucked=yes* ]]
cat <<- ente
Looking good, you may remove the file now
rm $store_file