summaryrefslogtreecommitdiff
path: root/t/chainlint/p4-filespec.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/p4-filespec.test')
-rw-r--r--t/chainlint/p4-filespec.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/chainlint/p4-filespec.test b/t/chainlint/p4-filespec.test
new file mode 100644
index 0000000000..8ba6b911dc
--- /dev/null
+++ b/t/chainlint/p4-filespec.test
@@ -0,0 +1,7 @@
+test_expect_success 'p4-filespec' '
+(
+# LINT: Perforce revspec in filespec not misinterpreted as in-line comment
+ p4 print -1 //depot/fiddle#42 >file &&
+ foobar
+)
+'