summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-10 19:29:51 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-10 19:29:51 +0200
commit2c7f9f240ea4588a96389fc79a839cf78dc7c2d6 (patch)
tree35947212c7efaac44c3f123aa6f3466c5bf99fd3 /test
parentb2ee555c15a6208ec5098c048431830835261907 (diff)
Added a test for envify
Diffstat (limited to 'test')
-rw-r--r--test/envify1
-rwxr-xr-xtest/main5
2 files changed, 6 insertions, 0 deletions
diff --git a/test/envify b/test/envify
new file mode 100644
index 0000000..e1dc2f0
--- /dev/null
+++ b/test/envify
@@ -0,0 +1 @@
+echo $oaei
diff --git a/test/main b/test/main
index a344379..f3ec5a2 100755
--- a/test/main
+++ b/test/main
@@ -126,6 +126,11 @@ if ((test_extended)) {
$envstore eval
$envstore rm nonexistent
$envstore clear
+
+ echo "# envify"
+ $envstore save oaei lalala
+ [[ $(bin/envify sh test/envify) == lalala ]]
+ $envstore clear
}
if ((test_security)) {