[Bash-completion-commits] [bash-completion] 02/02: (testsuite) Save shell variables when saving env (Alioth: #314720)

Ville Skyttä scop-guest at moszumanska.debian.org
Tue Jul 1 19:24:35 UTC 2014


This is an automated email from the git hooks/post-receive script.

scop-guest pushed a commit to branch master
in repository bash-completion.

commit dbb93ae77ba6613d89081b9592fb3714b604476c
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Jul 1 22:23:35 2014 +0300

    (testsuite) Save shell variables when saving env (Alioth: #314720)
---
 test/lib/library.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lib/library.exp b/test/lib/library.exp
index 4ec0e69..6d2ff41 100644
--- a/test/lib/library.exp
+++ b/test/lib/library.exp
@@ -846,7 +846,7 @@ 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 -o posix ; set); declare -F; shopt -p; } > \"$file\""
+    assert_bash_exec "{ (set -o posix ; set); declare -F; shopt -p; set -o; } > \"$file\""
 }
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git



More information about the Bash-completion-commits mailing list