summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-01-07 08:06:33 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-01-09 22:57:33 +0100
commitfb723fd9d1d2c1acb46e7980b4b35a5fb4d7c355 (patch)
tree20854e2cb390aff461a44c20e8baa128c651463d /tests/data
parent5ebe5044ab3bef50e671e528cc9f92ed0e20eaf7 (diff)
downloadcurl-fb723fd9d1d2c1acb46e7980b4b35a5fb4d7c355.tar.gz
test1167: verify global symbols in public headers are curl prefixed
... using the new badsymbols.pl perl script Fixes #4793 Closes #4794
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.inc3
-rw-r--r--tests/data/test116724
2 files changed, 26 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index 09cb05706..978f8aa5b 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -131,7 +131,8 @@ test1128 test1129 test1130 test1131 test1132 test1133 test1134 test1135 \
test1136 test1137 test1138 test1139 test1140 test1141 test1142 test1143 \
test1144 test1145 test1146 test1147 test1148 test1149 test1150 test1151 \
test1152 test1153 test1154 test1155 test1156 test1157 test1158 test1159 \
-test1160 test1161 test1162 test1163 test1164 test1165 test1166 \
+test1160 test1161 test1162 test1163 test1164 test1165 test1166 test1167 \
+\
test1170 test1171 test1172 test1173 test1174 test1175 \
\
test1200 test1201 test1202 test1203 test1204 test1205 test1206 test1207 \
diff --git a/tests/data/test1167 b/tests/data/test1167
new file mode 100644
index 000000000..9eebe1c4e
--- /dev/null
+++ b/tests/data/test1167
@@ -0,0 +1,24 @@
+<testcase>
+<info>
+<keywords>
+source analysis
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+
+ <name>
+Verify curl prefix of public symbols in header files
+ </name>
+
+<command type="perl">
+%SRCDIR/badsymbols.pl %SRCDIR/..
+</command>
+</client>
+
+</testcase>