summaryrefslogtreecommitdiff
path: root/test/lib/completions/mount.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/mount.exp')
-rw-r--r--test/lib/completions/mount.exp11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/lib/completions/mount.exp b/test/lib/completions/mount.exp
index bcb95ba4..74022371 100644
--- a/test/lib/completions/mount.exp
+++ b/test/lib/completions/mount.exp
@@ -57,6 +57,9 @@ assert_bash_exec {PATH="$OLDPATH"; unset -v OLDPATH}
sync_after_int
+assert_complete {/mnt/nice-test-path} {mnt /mnt/nice-test-p}
+sync_after_int
+
assert_complete {/mnt/nice\ test-path} {mnt /mnt/nice\ test-p}
sync_after_int
@@ -66,13 +69,17 @@ sync_after_int
assert_complete {/mnt/nice\ test\\path} {mnt /mnt/nice\ test\\p}
sync_after_int
-assert_complete {/mnt/nice\ test-path} {mnt /mnt/nice\ }
+assert_complete {{/mnt/nice\ test\\path} {/mnt/nice\ test-path}} \
+ {mnt /mnt/nice\ } "" /@ 20 {/mnt/nice\ }
sync_after_int
assert_complete {/mnt/nice\$test-path} {mnt /mnt/nice\$}
sync_after_int
-assert_complete {'/mnt/nice\ test-path'} {mnt '/mnt/nice\ }
+assert_complete {$'/mnt/nice-test-path'} {mnt $'/mnt/nice-}
+sync_after_int
+
+assert_complete {$'/mnt/nice\ntest-path'} {mnt $'/mnt/nice\n}
sync_after_int