Imported from ../bash-2.0.tar.gz.
[platform/upstream/bash.git] / tests / varenv.sh
index d6bd4e5..9938cba 100644 (file)
@@ -92,3 +92,14 @@ echo $c $d
 d=$c c=$d
 expect "1 1"
 echo $c $d
+
+# just for completeness
+unset d c
+expect unset
+echo ${d-unset}
+
+# no output
+export a
+a=bcde
+export a
+/bin/true 2>/dev/null