Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marvin Scholz
Icecast-Server
Commits
693a3494
Commit
693a3494
authored
Jan 13, 2018
by
Marvin Scholz
3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/admin-tests.sh
tests/admin-tests.sh
+1
-1
No files found.
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
Markdown
is supported
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