diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-06-16 11:30:36 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-06-16 23:38:13 +0200 |
commit | 5385450afd61328e7d24b50eeffc2b1571cd9e2f (patch) | |
tree | abed28837e3bc58605b3963280b9b2aec62815d8 /tests/data | |
parent | ce2cc568f822605ae4258ec25b87b59b24c7bd19 (diff) |
curl: prevent binary output spewed to terminal
... unless "--output -" is used. Binary detection is done by simply
checking for a binary zero in early data.
Added test 1425 1426 to verify.
Closes #1512
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/Makefile.inc | 2 | ||||
-rw-r--r-- | tests/data/test1425 | bin | 0 -> 1726 bytes | |||
-rw-r--r-- | tests/data/test1426 | bin | 0 -> 1663 bytes |
3 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index d5f892e4c..4f3428987 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -151,7 +151,7 @@ test1396 test1397 test1398 \ test1400 test1401 test1402 test1403 test1404 test1405 test1406 test1407 \ test1408 test1409 test1410 test1411 test1412 test1413 test1414 test1415 \ test1416 test1417 test1418 test1419 test1420 test1421 test1422 test1423 \ -test1424 \ +test1424 test1425 test1426 \ test1428 test1429 test1430 test1431 test1432 test1433 test1434 test1435 \ test1436 test1437 test1438 test1439 test1440 test1441 test1442 test1443 \ test1444 test1445 test1446 \ diff --git a/tests/data/test1425 b/tests/data/test1425 Binary files differnew file mode 100644 index 000000000..0044c69d5 --- /dev/null +++ b/tests/data/test1425 diff --git a/tests/data/test1426 b/tests/data/test1426 Binary files differnew file mode 100644 index 000000000..dd6a8d117 --- /dev/null +++ b/tests/data/test1426 |