[Bash-completion-commits] [SCM] bash-completion branch, master, updated. d2c6b1ede06eda5aea424eb4262d9b7738747fc7
Freddy Vulto
fvulto at gmail.com
Fri Oct 2 14:15:53 UTC 2009
The following commit has been merged in the master branch:
commit d2c6b1ede06eda5aea424eb4262d9b7738747fc7
Author: Freddy Vulto <fvulto at gmail.com>
Date: Fri Oct 2 16:13:46 2009 +0200
(test suite) Added test for dd
Added test "option should be suffixed with ="
This test exhibits the bug (expected failure) that `dd if<TAB>' gets completed
with `\=' instead of `='.
diff --git a/test/lib/completions/dd.exp b/test/lib/completions/dd.exp
index 8175579..400dd14 100644
--- a/test/lib/completions/dd.exp
+++ b/test/lib/completions/dd.exp
@@ -17,4 +17,17 @@ assert_complete_any "dd --"
sync_after_int
+set test "option should be suffixed with ="
+set cmd "dd if"
+send "$cmd\t"
+expect -ex "$cmd"
+expect {
+ -re "^=$" { pass $test }
+ -re {^\\=$} { xfail $test }
+}; # expect
+
+
+sync_after_int
+
+
teardown
--
bash-completion
More information about the Bash-completion-commits
mailing list