summaryrefslogtreecommitdiff
path: root/test/lib/completions/man.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/man.exp')
-rw-r--r--test/lib/completions/man.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/completions/man.exp b/test/lib/completions/man.exp
index e0056ca2..c7358c62 100644
--- a/test/lib/completions/man.exp
+++ b/test/lib/completions/man.exp
@@ -1,11 +1,11 @@
proc setup {} {
- assert_bash_exec {export MANPATH=$TESTDIR/fixtures/man}
+ assert_bash_exec "export MANPATH=$::srcdirabs/fixtures/man"
save_env
}
proc teardown {} {
- assert_env_unmodified
+ assert_env_unmodified {/OLDPWD/d}
}
@@ -18,7 +18,7 @@ assert_complete "bar" "man b"
sync_after_int
-assert_complete "fixtures/man/man1/foo.1" "man fixtures/man/man1/f"
+assert_complete_dir oo.1 "man man1/f" $::srcdir/fixtures/man
sync_after_int