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

Freddy Vulto (none) freddy at rebase.
Tue Jun 9 22:14:34 UTC 2009


The following commit has been merged in the master branch:
commit dd5502a920c55c380d3d13a0ff7ce8a60cd662f9
Author: Freddy Vulto <freddy at rebase.(none)>
Date:   Wed Jun 10 00:13:19 2009 +0200

    Upgraded tests for cd and mplayer (and vncviewers)

diff --git a/test/_completion_to_review/cd.exp b/test/completion/cd.exp
similarity index 100%
rename from test/_completion_to_review/cd.exp
rename to test/completion/cd.exp
diff --git a/test/_completion_to_review/mplayer.exp b/test/completion/mplayer.exp
similarity index 100%
rename from test/_completion_to_review/mplayer.exp
rename to test/completion/mplayer.exp
diff --git a/test/fixture1/bar b/test/fixture1/bar
new file mode 100644
index 0000000..e69de29
diff --git a/test/fixture1/foo b/test/fixture1/foo
new file mode 100644
index 0000000..e69de29
diff --git a/test/lib/completions_to_review/cd.exp b/test/lib/completions/cd.exp
similarity index 97%
rename from test/lib/completions_to_review/cd.exp
rename to test/lib/completions/cd.exp
index 1e46690..25d02f0 100644
--- a/test/lib/completions_to_review/cd.exp
+++ b/test/lib/completions/cd.exp
@@ -1,8 +1,10 @@
 proc setup {} {
+    save_env
 }; # setup()
 
 
 proc teardown {} {
+    assert_env_unmodified
 }; # teardown()
 
 
diff --git a/test/lib/completions_to_review/mplayer.exp b/test/lib/completions/mplayer.exp
similarity index 89%
rename from test/lib/completions_to_review/mplayer.exp
rename to test/lib/completions/mplayer.exp
index 75556a1..88782e1 100644
--- a/test/lib/completions_to_review/mplayer.exp
+++ b/test/lib/completions/mplayer.exp
@@ -1,8 +1,10 @@
 proc setup {} {
+    save_env
 }; # setup()
 
 
 proc teardown {} {
+    assert_env_unmodified
 }; # teardown()
 
 
diff --git a/test/lib/completions/tightvncviewer.exp b/test/lib/completions/tightvncviewer.exp
index a087365..879e5d9 100644
--- a/test/lib/completions/tightvncviewer.exp
+++ b/test/lib/completions/tightvncviewer.exp
@@ -1,8 +1,10 @@
 proc setup {} {
+    save_env
 }; # setup()
 
 
 proc teardown {} {
+    assert_env_unmodified
 }; # teardown()
 
 
diff --git a/test/lib/completions/xvnc4viewer.exp b/test/lib/completions/xvnc4viewer.exp
index 6aaf2eb..1aba5fc 100644
--- a/test/lib/completions/xvnc4viewer.exp
+++ b/test/lib/completions/xvnc4viewer.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