1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-15 04:08:07 -04:00
Commit Graph

59 Commits

Author SHA1 Message Date
Moritz Grimm
c6741ab55f Fix a type error 2017-10-04 15:22:12 +02:00
Moritz Grimm
857f096ba0 Libshout behaves irregularly; make tests cope 2017-09-25 20:45:47 +00:00
Moritz Grimm
cb77b073de Explicitly check that m_str is NULL after an error return
Hopefully, this is enough of a hint to Coverity to squelch that
resource leak false positive as well ...
2017-09-25 21:01:55 +02:00
Moritz Grimm
a896f2cc19 Increase test coverage for stream_*() 2017-09-25 20:49:59 +02:00
Moritz Grimm
bcb097a16e Remove more superfluous access() checks
Removes TOCTOU complaints from Coverity
2017-09-25 19:34:37 +02:00
Moritz Grimm
4551bfdbc0 Remove superfluous access() as unlink() does the same thing 2017-09-25 18:18:07 +02:00
Moritz Grimm
9cb757f17f Add util_* tests 2017-09-25 17:48:39 +02:00
Moritz Grimm
6616831590 Switch to a new (unit-tested) metadata handling API 2017-09-20 12:40:33 +02:00
Moritz Grimm
3a471dc164 Assert errstr2 to be not NULL before dereferencing it 2017-09-20 11:20:39 +02:00
Moritz Grimm
7729fa9773 Make configuration handling around streaming from stdin more robust 2017-09-15 19:23:16 +02:00
Moritz Grimm
43e26549f9 Add support for writing PID files 2017-07-10 11:39:00 +02:00
Moritz Grimm
71e5820df1 Make cmdline_parse() restartable 2017-07-07 16:44:58 +02:00
Moritz Grimm
8e0d5d6678 Add STDIN streaming configuration example 2017-03-30 14:54:41 +02:00
Moritz Grimm
cec131e83a Fix misleading function name 2016-10-14 16:23:32 +02:00
Moritz Grimm
cce2455bc6 Rename config file (re)load function for clarity 2016-10-14 16:19:39 +02:00
Moritz Grimm
f05462c7ea Merge remote-tracking branch 'origin/feature/stream_refactor' into feature/https_support 2016-03-07 11:12:22 +01:00
Moritz Grimm
a337c74ea4 Update TLS configuration to match libshout requirements 2016-03-04 18:20:17 +01:00
Moritz Grimm
4b087df3ab Add plumbing for future encapsulation of libshout usage 2015-06-15 08:04:57 +02:00
Moritz Grimm
b34b78aeba Remove unneeded fixture prototypes 2015-06-13 11:41:40 +02:00
Moritz Grimm
77fe651bff Move config plausibility check to CFG and test it 2015-06-11 23:50:31 +02:00
Moritz Grimm
744511ffe2 Expose "configuration stashing" API 2015-06-09 23:02:45 +02:00
Moritz Grimm
02edf4f385 Start with some automated integration/smoke tests
Audio from http://www.audiocheck.net/audiocheck_spectrotyper.php
2015-06-03 23:58:45 +02:00
Moritz Grimm
b0eda7b48c Add cfg_get_stream_format_str() 2015-06-02 23:45:10 +02:00
Moritz Grimm
c396866de6 Test recovery after excessively long lines 2015-06-02 22:35:43 +02:00
Moritz Grimm
9d9bf9865c Comment out a test that fails with -O0
This is a riddle for another day ...
2015-05-30 21:53:01 +02:00
Moritz Grimm
542a21b7ab More playlist tests 2015-05-30 21:52:42 +02:00
Moritz Grimm
2720521c71 Make bad-executable a real script that always "fails" 2015-05-28 14:15:49 +02:00
Moritz Grimm
40b7b33f7c Further playlist test improvements 2015-05-28 14:10:42 +02:00
Moritz Grimm
89afe51765 More playlist tests 2015-05-28 08:40:16 +02:00
Moritz Grimm
122728aaa2 Test playlist 2015-05-27 23:37:26 +02:00
Moritz Grimm
e3f43db0c9 Add playlist test harness 2015-05-26 14:31:43 +02:00
Moritz Grimm
715d840718 Finish cmdline tests 2015-05-26 14:15:11 +02:00
Moritz Grimm
e05629e7fd Explicitly pass unsigned long to alloc functions
This is just to squelch Wconversion warnings on older GCC, making the
build output easier to read. No functional change.
2015-05-26 08:04:04 +02:00
Moritz Grimm
5548971fe3 More tests for cmdline 2015-05-26 07:47:07 +02:00
Moritz Grimm
9ffc726ad7 Start to test cmdline 2015-05-24 20:57:27 +02:00
Moritz Grimm
111f219f17 Test xalloc (as much as possible) 2015-05-24 13:20:26 +02:00
Moritz Grimm
459eeea2a2 Adjust test-suite/-case names 2015-05-24 11:33:24 +02:00
Moritz Grimm
8357b854d8 Test log 2015-05-24 11:29:42 +02:00
Moritz Grimm
9c56f4a8db Add another code branch to the metadata/format_str test case 2015-05-22 08:09:43 +02:00
Moritz Grimm
a22a99a19f Remove config-ok.xml (effectively replaced by all examples) 2015-05-22 07:49:05 +02:00
Moritz Grimm
65200182f9 Split out tests for cfg_xmlfile.c and use it to check the examples 2015-05-22 00:40:21 +02:00
Moritz Grimm
c304dfe48a Support passthrough "encoders" again 2015-05-22 00:20:54 +02:00
Moritz Grimm
b8ea620f7a Default to port 8000 2015-05-22 00:19:57 +02:00
Moritz Grimm
34bdab6a36 Fix cfg_get_metadata_program() and add tests when NULL is expected from getters 2015-05-21 23:25:05 +02:00
Moritz Grimm
e2139e9195 Remove check_ezstream dummy; it doesn't do anything useful, yet
... and ezstream.c is probably the most untestable file right now anyways.
2015-05-21 08:34:30 +02:00
Moritz Grimm
dd2f32665a Add remaining tests that make cfg tests "good enough" 2015-05-21 01:28:07 +02:00
Moritz Grimm
6c6e758626 Fix variable name inside test macro 2015-05-21 01:27:28 +02:00
Moritz Grimm
5350b3be79 Fix signedness in comparison 2015-05-21 01:25:07 +02:00
Moritz Grimm
865dbfe682 Test error branch w/o triggering a Valgrind error 2015-05-20 00:34:26 +02:00
Moritz Grimm
4c3a4a38bb Reorganize tests; add proper fixtures 2015-05-20 00:14:50 +02:00