[PATCH 5/6] add test case for space within command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 validation/preprocessor/cli-D-space.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 validation/preprocessor/cli-D-space.c

diff --git a/validation/preprocessor/cli-D-space.c b/validation/preprocessor/cli-D-space.c
new file mode 100644
index 000000000..d104d66da
--- /dev/null
+++ b/validation/preprocessor/cli-D-space.c
@@ -0,0 +1,11 @@
+M(0,1)
+/*
+ * check-name: cli: allow spaces in macros
+ * check-command: sparse -E '-DM(X, Y)=a' $file
+ * check-known-to-fail
+ *
+ * check-output-start
+
+a
+ * check-output-end
+ */
-- 
2.15.0

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux