summaryrefslogtreecommitdiff
path: root/test/lib/completions/cd.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/cd.exp')
-rw-r--r--test/lib/completions/cd.exp26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/lib/completions/cd.exp b/test/lib/completions/cd.exp
index 6f36c881..ded094c3 100644
--- a/test/lib/completions/cd.exp
+++ b/test/lib/completions/cd.exp
@@ -11,13 +11,6 @@ proc teardown {} {
setup
-set test "Tab should complete"
-assert_complete {"bar bar.d/" foo.d/} "cd $::srcdir/fixtures/shared/default/" $test
-
-
-sync_after_int
-
-
set test "Tab should complete cd at cursor position"
# Try completion
set cmd "cd $::srcdir/fixtures/shared/default/foo"
@@ -35,23 +28,4 @@ expect {
sync_after_int
-set test "Tab should complete CDPATH"
- # Set CDPATH
-assert_bash_exec "declare -p CDPATH &>/dev/null && OLDCDPATH=\$CDPATH || :"
-assert_bash_exec "CDPATH=\$PWD";
-assert_complete "$::srcdir/fixtures/shared/default/foo.d/" \
- "cd $::srcdir/fixtures/shared/default/fo" $test -nospace -expect-cmd-minus fo
-sync_after_int
-
-assert_bash_exec "unset CDPATH"
-# Assuming no subdirs here
-assert_bash_exec "cd $::srcdir/fixtures/shared/default/foo.d"
-assert_no_complete "cd " "cd shouldn't complete when there are no subdirs or CDPATH"
-sync_after_int
-
- # Reset PWD and CDPATH
-assert_bash_exec "cd \"\$OLDPWD\""
-assert_bash_exec "declare -p OLDCDPATH &>/dev/null && CDPATH=\$OLDCDPATH || unset CDPATH && unset OLDCDPATH"
-
-
teardown