summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()