[Bash-completion-commits] [SCM] bash-completion branch, master, updated. e7d7ae81efc694e45d6667f6decc1afde407831d

Ville Skyttä ville.skytta at iki.fi
Wed Jan 27 23:08:51 UTC 2010


The following commit has been merged in the master branch:
commit f579b3841050361ec4fa935e989a86830e3ad740
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Jan 28 00:34:20 2010 +0200

    (testsuite) Include shopt states in saved environment.

diff --git a/test/lib/library.exp b/test/lib/library.exp
index ade7873..f9895d8 100644
--- a/test/lib/library.exp
+++ b/test/lib/library.exp
@@ -596,8 +596,8 @@ proc save_env {{file ""}} {
 # @param string  File to save the environment to.  Default is "$TESTDIR/tmp/env1~".
 # @see assert_env_unmodified()
 proc _save_env {{file ""}} {
-    assert_bash_exec "{ set; declare -F; } > $file"
-}; # save_env()
+    assert_bash_exec "{ set; declare -F; shopt -p; } > $file"
+}; # _save_env()
 
 
 # Source bash_completion package

-- 
bash-completion



More information about the Bash-completion-commits mailing list