Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
2be65020
Commit
2be65020
authored
3 years ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-804
: Update array assignment for shellcheck
parent
8f4ccfde
No related branches found
No related tags found
1 merge request
!360
L2SS-804: Modules using env for individual integration tests
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sbin/run_integration_test.sh
+3
-3
3 additions, 3 deletions
sbin/run_integration_test.sh
with
3 additions
and
3 deletions
sbin/run_integration_test.sh
+
3
−
3
View file @
2be65020
...
@@ -21,13 +21,13 @@ function usage {
...
@@ -21,13 +21,13 @@ function usage {
# integration module or even specific tests
# integration module or even specific tests
# integration_test module restarted_containers config_files specific_test
# integration_test module restarted_containers config_files specific_test
function
integration_test
{
function
integration_test
{
configs
=(
$3
)
IFS
=
" "
read
-r
-a
restarts
<<<
"
${
2
}
"
restarts
=(
$2
)
IFS
=
" "
read
-r
-a
configs
<<<
"
${
3
}
"
for
config
in
"
${
configs
[@]
}
"
;
do
for
config
in
"
${
configs
[@]
}
"
;
do
bash
"
${
LOFAR20_DIR
}
"
/sbin/update_ConfigDb.sh
"
${
config
}
"
bash
"
${
LOFAR20_DIR
}
"
/sbin/update_ConfigDb.sh
"
${
config
}
"
done
done
if
[
!
-z
"
${
2
+x
}
"
]
;
then
if
[
!
-z
"
${
2
+x
}
"
]
;
then
make restart
${
restarts
[
*
]
}
make restart
"
${
restarts
[
@
]
}
"
fi
fi
sleep
5
sleep
5
make integration
"
${
1
}
"
make integration
"
${
1
}
"
...
...
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