summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-01-28 01:07:44 +0200
committerVille Skyttä <ville.skytta@iki.fi>2010-01-28 01:07:44 +0200
commite7d7ae81efc694e45d6667f6decc1afde407831d (patch)
tree49bec472331b11fe80b87a5833b019f7ba1cb1a1
parentf3b791baeba58ac078147f9ff5829dd6055c7052 (diff)
downloadbash-completion-e7d7ae81efc694e45d6667f6decc1afde407831d.tar.gz
(testsuite) Add missing assert_env_unmodified tests.
-rw-r--r--test/lib/completions/acroread.exp2
-rw-r--r--test/lib/completions/gzip.exp2
-rw-r--r--test/lib/completions/kill.exp2
3 files changed, 6 insertions, 0 deletions
diff --git a/test/lib/completions/acroread.exp b/test/lib/completions/acroread.exp
index faf28b00..d21d0f55 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 4d3b59f7..f212c61a 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 62d6b85b..ca02650c 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()