Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-advanced-user-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-advanced-user-tools
Commits
60796afd
Commit
60796afd
authored
Jul 16, 2020
by
Henrik tom Wörden
Browse files
Options
Downloads
Plain Diff
Merge branch 'logging-setup' into tmp
parents
9464ab5e
b678afa0
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
integrationtests/test.sh
+2
-2
2 additions, 2 deletions
integrationtests/test.sh
with
2 additions
and
2 deletions
integrationtests/test.sh
+
2
−
2
View file @
60796afd
...
@@ -19,7 +19,7 @@ echo "run crawler"
...
@@ -19,7 +19,7 @@ echo "run crawler"
./crawl.py /
>
$OUT
./crawl.py /
>
$OUT
# check whether there was something UNAUTHORIZED
# check whether there was something UNAUTHORIZED
set
-e
set
-e
grep
"
UNAUTHORIZED UPDATE
"
$OUT
grep
"
There where unauthorized changes
"
$OUT
# get the id of the run which is the last field of the output string
# get the id of the run which is the last field of the output string
RUN_ID
=
$(
grep
"run id:"
$OUT
|
awk
'{ print $NF }'
)
RUN_ID
=
$(
grep
"run id:"
$OUT
|
awk
'{ print $NF }'
)
echo
$RUN_ID
echo
$RUN_ID
...
@@ -27,7 +27,7 @@ echo "run crawler again"
...
@@ -27,7 +27,7 @@ echo "run crawler again"
echo
"./crawl.py -a
$RUN_ID
/"
echo
"./crawl.py -a
$RUN_ID
/"
./crawl.py
-a
$RUN_ID
/
>
$OUT
./crawl.py
-a
$RUN_ID
/
>
$OUT
set
+e
set
+e
if
grep
"
UNAUTHORIZED UPDATE
"
$OUT
if
grep
"
There where unauthorized changes
"
$OUT
then
then
exit
1
exit
1
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment