File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,3 +5,19 @@ all: abc/xyz
55abc/xyz 123/xaa 123/xbb :
66 mkdir -p $(@:/%= )
77 date > $@
8+
9+ sub1test/bar/alpha sub1test/bar/beta :
10+ mkdir -p $(@:/%= )
11+ date > $@
12+
13+ sub2test/bar/alpha :
14+ mkdir -p $(@:/%= )
15+ date > $@
16+
17+ sub3test/bar/alpha sub3test/foo/alpha :
18+ mkdir -p $(@:/%= )
19+ date > $@
20+
21+ sub4test/bar/alpha sub4test/bar/beta sub4test2/foo/gamma :
22+ mkdir -p $(@:/%= )
23+ date > $@
Original file line number Diff line number Diff line change @@ -66,3 +66,19 @@ def test_github_issue_544_3(self, bash):
6666 def test_github_issue_544_4 (self , bash ):
6767 completion = assert_complete (bash , "make 123/xa" )
6868 assert completion == "a"
69+
70+ def test_subdir_1 (self , bash ):
71+ completion = assert_complete (bash , "make sub1" )
72+ assert completion == "test/bar/"
73+
74+ def test_subdir_2 (self , bash ):
75+ completion = assert_complete (bash , "make sub2" )
76+ assert completion == "test/bar/alpha"
77+
78+ def test_subdir_3 (self , bash ):
79+ completion = assert_complete (bash , "make sub3" )
80+ assert completion == "test/"
81+
82+ def test_subdir_4 (self , bash ):
83+ completion = assert_complete (bash , "make sub4" )
84+ assert completion == "sub4test/bar/ sub4test2/foo/gamma" .split ()
You can’t perform that action at this time.
0 commit comments