@@ -14,11 +14,19 @@ def test_1(self, completion):
14
14
def test_2 (self , bash , completion ):
15
15
"""Hidden targets."""
16
16
assert completion == ".cache/ .test_passes" .split ()
17
+ import glob
18
+ print (f"Files in { bash .cwd } /make" )
19
+ for filename in glob .iglob (f"{ bash .cwd } /make/**/*" , recursive = True ):
20
+ print (filename )
17
21
os .remove (f"{ bash .cwd } /make/extra_makefile" )
18
22
19
23
@pytest .mark .complete ("make .cache/" , cwd = "make" , require_cmd = True )
20
24
def test_3 (self , bash , completion ):
21
25
assert completion == ".cache/1 .cache/2" .split ()
26
+ import glob
27
+ print (f"Files in { bash .cwd } /make" )
28
+ for filename in glob .iglob (f"{ bash .cwd } /make/**/*" , recursive = True ):
29
+ print (filename )
22
30
os .remove (f"{ bash .cwd } /make/extra_makefile" )
23
31
24
32
@pytest .mark .complete ("make " , cwd = "shared/empty_dir" )
@@ -32,6 +40,10 @@ def test_5(self, completion):
32
40
@pytest .mark .complete ("make " , cwd = "make" , require_cmd = True )
33
41
def test_6 (self , bash , completion ):
34
42
assert completion == "all clean extra_makefile install sample" .split ()
43
+ import glob
44
+ print (f"Files in { bash .cwd } /make" )
45
+ for filename in glob .iglob (f"{ bash .cwd } /make/**/*" , recursive = True ):
46
+ print (filename )
35
47
os .remove (f"{ bash .cwd } /make/extra_makefile" )
36
48
37
49
@pytest .mark .complete ("make .cache/." , cwd = "make" , require_cmd = True )
0 commit comments