Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marvin Scholz
Icecast-Server
Commits
693a3494
Commit
693a3494
authored
Jan 13, 2018
by
Marvin Scholz
Browse files
Trying to fix tests
parent
12ffae4a
Pipeline
#23
failed with stage
in 1 minute and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/admin-tests.sh
View file @
693a3494
...
...
@@ -37,7 +37,7 @@ function test_endpoint {
else
res
=
$(
curl
-m
5
-u
"
$3
"
-o
/dev/null
-D
-
"
$ICECAST_BASE_URL$1
"
2>/dev/null |
head
-n
1 |
cut
-d
$' '
-f2-
|
tr
-d
'\r\n'
)
fi
if
test
"
$(
echo
"
$res
"
|
cut
-d
$' '
-f1
)
"
-eq
"
$2
"
;
then
if
test
$(
echo
"
$res
"
|
cut
-d
$' '
-f1
)
-eq
$2
;
then
printf
"
\e
[92mOK
\e
[39m"
echo
" [
$res
]"
else
...
...
Marvin Scholz
@ePirat
mentioned in commit
021c6f10
·
Jan 13, 2018
mentioned in commit
021c6f10
mentioned in commit 021c6f1002a9e6988de1282ce904cb0e5c80f8b0
Toggle commit list
Marvin Scholz
@ePirat
mentioned in merge request
!1 (merged)
·
Jan 13, 2018
mentioned in merge request
!1 (merged)
mentioned in merge request !1
Toggle commit list
Marvin Scholz
@ePirat
mentioned in commit
83a0a5f0
·
Jan 13, 2018
mentioned in commit
83a0a5f0
mentioned in commit 83a0a5f07c3495ffac14a55a281b45e3fc6dc094
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment