about summary refs log tree commit diff
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.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/chainlint/p4-filespec.test b/t/chainlint/p4-filespec.test
new file mode 100644
index 0000000000..4fd2d6e2b8
--- /dev/null
+++ b/t/chainlint/p4-filespec.test
@@ -0,0 +1,5 @@
+(
+# LINT: Perforce revspec in filespec not misinterpreted as in-line comment
+	p4 print -1 //depot/fiddle#42 >file &&
+	foobar
+)