File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1
1
proc setup {} {
2
- assert_bash_exec "export MANPATH=$::srcdirabs/fixtures/man"
2
+ assert_bash_exec "export MANPATH=$::srcdirabs/fixtures/man:$::srcdirabs/tmp/man "
3
3
save_env
4
+
5
+ if {! [is_cygwin]} { # Colon not allowed in filenames
6
+ assert_bash_exec {(cd $TESTDIR/tmp && mkdir -p man/man3 && touch man/man3/Bash::Completion.3pm.gz || true)}
7
+ }
4
8
}
5
9
6
10
7
11
proc teardown {} {
8
12
assert_env_unmodified {/OLDPWD/d}
13
+
14
+ if {! [is_cygwin]} {
15
+ assert_bash_exec {(cd $TESTDIR/tmp && rm -r man || true)}
16
+ }
9
17
}
10
18
11
19
@@ -24,10 +32,10 @@ assert_complete_dir oo.1 "man man1/f" $::srcdir/fixtures/man
24
32
sync_after_int
25
33
26
34
27
- assert_complete "Bash::Completion" "man Bash::C"
28
-
29
-
30
- sync_after_int
35
+ if {! [is_cygwin]} {
36
+ assert_complete "Bash::Completion" "man Bash::C"
37
+ sync_after_int
38
+ }
31
39
32
40
33
41
assert_complete_dir "man/quux.8" "man man/" $::srcdir/fixtures/man
You can’t perform that action at this time.
0 commit comments