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

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


The following commit has been merged in the master branch:
commit e7d7ae81efc694e45d6667f6decc1afde407831d
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Jan 28 01:07:44 2010 +0200

    (testsuite) Add missing assert_env_unmodified tests.

diff --git a/test/lib/completions/acroread.exp b/test/lib/completions/acroread.exp
index faf28b0..d21d0f5 100644
--- a/test/lib/completions/acroread.exp
+++ b/test/lib/completions/acroread.exp
@@ -1,10 +1,12 @@
 proc setup {} {
+    save_env
     assert_bash_exec "touch fixture1/t.pdf";  # Create temporary files
 }; # setup()
 
 
 proc teardown {} {
     assert_bash_exec "rm fixture1/t.pdf";  # Remove temporary files
+    assert_env_unmodified
 }; # teardown()
 
 
diff --git a/test/lib/completions/gzip.exp b/test/lib/completions/gzip.exp
index 4d3b59f..f212c61 100644
--- a/test/lib/completions/gzip.exp
+++ b/test/lib/completions/gzip.exp
@@ -1,8 +1,10 @@
 proc setup {} {
+    save_env
 }; # setup()
 
 
 proc teardown {} {
+    assert_env_unmodified
 }; # teardown()
 
 
diff --git a/test/lib/completions/kill.exp b/test/lib/completions/kill.exp
index 62d6b85..ca02650 100644
--- a/test/lib/completions/kill.exp
+++ b/test/lib/completions/kill.exp
@@ -1,8 +1,10 @@
 proc setup {} {
+    save_env
 }; # setup()
 
 
 proc teardown {} {
+    assert_env_unmodified
 }; # teardown()
 
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list