git p4 test: wildcards are supported

Since 9d57c4a (git p4: implement view spec wildcards with "p4 where", 2013-08-30), all the wildcard types should be supported. Change must-fail tests to mark that they now pass. Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Pete Wyckoff committed Jan 21, 2014 at 18:16 UTC 16168986eb5924f21e52de61cf5703b840872c91
1 file changed +8 -8
t/t9809-git-p4-client-view.sh
+8 -8
@@ -76,28 +76,28 @@ test_expect_success 'init depot' '
76 '
77
78 # double % for printf
79 -test_expect_success 'unsupported view wildcard %%n' '
79 +test_expect_success 'view wildcard %%n' '
80 client_view "//depot/%%%%1/sub/... //client/sub/%%%%1/..." &&
81 test_when_finished cleanup_git &&
82 - test_must_fail git p4 clone --use-client-spec --dest="$git" //depot
82 + git p4 clone --use-client-spec --dest="$git" //depot
83 '
84
85 -test_expect_success 'unsupported view wildcard *' '
85 +test_expect_success 'view wildcard *' '
86 client_view "//depot/*/bar/... //client/*/bar/..." &&
87 test_when_finished cleanup_git &&
88 - test_must_fail git p4 clone --use-client-spec --dest="$git" //depot
88 + git p4 clone --use-client-spec --dest="$git" //depot
89 '
90
91 -test_expect_success 'wildcard ... only supported at end of spec 1' '
91 +test_expect_success 'wildcard ... in the middle' '
92 client_view "//depot/.../file11 //client/.../file11" &&
93 test_when_finished cleanup_git &&
94 - test_must_fail git p4 clone --use-client-spec --dest="$git" //depot
94 + git p4 clone --use-client-spec --dest="$git" //depot
95 '
96
97 -test_expect_success 'wildcard ... only supported at end of spec 2' '
97 +test_expect_success 'wildcard ... in the middle and at the end' '
98 client_view "//depot/.../a/... //client/.../a/..." &&
99 test_when_finished cleanup_git &&
100 - test_must_fail git p4 clone --use-client-spec --dest="$git" //depot
100 + git p4 clone --use-client-spec --dest="$git" //depot
101 '
102
103 test_expect_success 'basic map' '