@@ -14,11 +14,19 @@ def test_1(self, completion):
1414 def test_2 (self , bash , completion ):
1515 """Hidden targets."""
1616 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 )
1721 os .remove (f"{ bash .cwd } /make/extra_makefile" )
1822
1923 @pytest .mark .complete ("make .cache/" , cwd = "make" , require_cmd = True )
2024 def test_3 (self , bash , completion ):
2125 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 )
2230 os .remove (f"{ bash .cwd } /make/extra_makefile" )
2331
2432 @pytest .mark .complete ("make " , cwd = "shared/empty_dir" )
@@ -32,6 +40,10 @@ def test_5(self, completion):
3240 @pytest .mark .complete ("make " , cwd = "make" , require_cmd = True )
3341 def test_6 (self , bash , completion ):
3442 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 )
3547 os .remove (f"{ bash .cwd } /make/extra_makefile" )
3648
3749 @pytest .mark .complete ("make .cache/." , cwd = "make" , require_cmd = True )
0 commit comments