diff --git a/test/lib/completions/dd.exp b/test/lib/completions/dd.exp index 81755799..400dd143 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