diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2010-01-28 00:34:20 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2010-01-28 00:58:17 +0200 |
commit | f579b3841050361ec4fa935e989a86830e3ad740 (patch) | |
tree | 04f4ac869286415865b744363d3710fc62c3812d | |
parent | 3438a5547a26757856af1beff6ae549fd6fb66d9 (diff) | |
download | bash-completion-f579b3841050361ec4fa935e989a86830e3ad740.tar.gz |
(testsuite) Include shopt states in saved environment.
-rw-r--r-- | test/lib/library.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/library.exp b/test/lib/library.exp index ade7873d..f9895d88 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 |