Imported from ../bash-2.0.tar.gz.
[platform/upstream/bash.git] / tests / set-e-test
index ce3feb0..214ff88 100644 (file)
@@ -14,3 +14,6 @@ if : ; then
        done
        set +e
 fi
+# command subst should not inherit -e
+set -e
+echo $(false; echo ok)