1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-12-04 14:46:31 -05:00
Commit Graph

646 Commits

Author SHA1 Message Date
Moritz Grimm
67e18ed177 Add entry for ticket #2208 2015-08-04 00:28:57 +02:00
Petr Písař
23c26c5e01 Check for undefined stream format
format element is mandatory but the server will crash if it does not
exist in the configuration file. This patch handle the case
gracefully.

It does not raise an error on unsupported value because documentation
allows it.

<https://bugzilla.redhat.com/show_bug.cgi?id=1244481>

Signed-off-by: Petr Písař <ppisar@redhat.com>
2015-08-04 00:10:13 +02: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
87275ca223 Properly set up traps
Also don't attempt to delete the temporary file twice.
2015-06-08 23:57:17 +02:00
Moritz Grimm
ccaa2fddc3 Remove broken check 2015-06-08 23:52:14 +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
f367140d82 Rework stream_setup() 2015-06-02 23:45:55 +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
fb7d3b4e38 Check args prior to allocating resources 2015-06-01 14:57:20 +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
8d9f475e38 Simplify playlist_program() 2015-05-30 21:48:46 +02:00
Moritz Grimm
cf141edd52 Fix crash in error path 2015-05-28 16:12:38 +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
8b42aff63d Fix metadata.c includes (esp. for stat()) 2015-05-28 14:09:13 +02:00
Moritz Grimm
d929bd65a7 Fix whitespace 2015-05-28 14:02:17 +02:00
Moritz Grimm
89afe51765 More playlist tests 2015-05-28 08:40:16 +02:00
Moritz Grimm
2b004da593 Relax "group writeable!" error for compatibility w/ recent Linux 2015-05-28 08:38:51 +02:00
Moritz Grimm
6422607b1f Expect stat() availability 2015-05-28 08:37:49 +02:00
Moritz Grimm
715be8094b Switch to clock_gettime(CLOCK_MONOTONIC) 2015-05-28 00:10:52 +02:00
Moritz Grimm
122728aaa2 Test playlist 2015-05-27 23:37:26 +02:00
Moritz Grimm
aab0afaa82 Fix media type handing wrt playlists
This was a regression introduced by the cfg refactor
2015-05-27 00:27:08 +02:00
Moritz Grimm
74dce6af5b Remove unneeded functionality 2015-05-27 00:26:59 +02:00
Moritz Grimm
bf4150dcce Make playlist_t a truly opaque type
... and don't initialize global values twice while here
2015-05-26 23:40:48 +02:00
Moritz Grimm
e3f43db0c9 Add playlist test harness 2015-05-26 14:31:43 +02:00
Moritz Grimm
7a4c7291da Fix log level 2015-05-26 14:22:56 +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
b4fe40532a Simplify log_syserr() (no need to be thread-safe)
Using strerror_r() w/ proper error checking is impossible, if the
system uses GNUisms (and losing _GNU_SOURCE's extensions is equally
painful)

Also, this change probably fixes a "abort() instead of error" bug.
2015-05-24 11:26:04 +02:00
Moritz Grimm
4c6a879303 Make log testable: return true value when something was logged 2015-05-24 09:05:40 +02:00
Moritz Grimm
2016cb5012 Revert "Comment out/remove HTTPS-related documentation and examples"
This reverts commit 2ccc72c963.
2015-05-23 09:53:03 +02:00
Moritz Grimm
2ccc72c963 Comment out/remove HTTPS-related documentation and examples
... to be reverted when HTTPS is officially supported with the corresponding
libshout release.
2015-05-22 22:42:50 +02:00
Moritz Grimm
b920aadd70 Error string argument is no longer used 2015-05-22 22:34:48 +02:00
Moritz Grimm
d93f313f97 Attempt to parallel-build coverage reports 2015-05-22 08:13:48 +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
a83e6cc577 Allow coverage report gen to crash more easily with full stack protection 2015-05-22 08:08:49 +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
d71886a0e6 Add a video streaming example 2015-05-22 00:27:52 +02:00
Moritz Grimm
c304dfe48a Support passthrough "encoders" again 2015-05-22 00:20:54 +02:00