(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 `='.
This commit is contained in:
Freddy Vulto 2009-10-02 16:13:46 +02:00
parent 453a55e9c8
commit d2c6b1ede0

View File

@ -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