Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
638a844c
Commit
638a844c
authored
Jan 08, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X Discovered more issues with buildout code injection
parent
e41706c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+6
-0
software/ors-amarisoft/test/test.sh
software/ors-amarisoft/test/test.sh
+3
-3
No files found.
software/ors-amarisoft/test/test.py
View file @
638a844c
...
@@ -120,6 +120,12 @@ def XN_PEER(xn_addr):
...
@@ -120,6 +120,12 @@ def XN_PEER(xn_addr):
class
ENBTestCase
(
AmariTestCase
):
class
ENBTestCase
(
AmariTestCase
):
maxDiff
=
None
# want to see full diff in test run log on an error
maxDiff
=
None
# want to see full diff in test run log on an error
# stress correctness of ru_ref/cell_ref/... usage throughout all places in
# buildout code - special characters should not lead to wrong templates or
# code injection.
default_partition_reference
=
AmariTestCase
.
default_partition_reference
+
\
'${aaa:bbb}
\
n
[ccc];'
# XXX temp
# XXX temp
instance_max_retry
=
1
instance_max_retry
=
1
report_max_retry
=
1
report_max_retry
=
1
...
...
software/ors-amarisoft/test/test.sh
View file @
638a844c
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
export
SLAPOS_TEST_DEBUG
=
1
export
SLAPOS_TEST_DEBUG
=
1
export
SLAPOS_TEST_VERBOSE
=
1
export
SLAPOS_TEST_VERBOSE
=
1
export
SLAPOS_TEST_SKIP_SOFTWARE_CHECK
=
1
export
SLAPOS_TEST_SKIP_SOFTWARE_CHECK
=
1
export
SLAPOS_TEST_SKIP_SOFTWARE_REBUILD
=
0
export
SLAPOS_TEST_SKIP_SOFTWARE_REBUILD
=
1
rm
-rf
snapshot
rm
-rf
snapshot
mkdir
snapshot
mkdir
snapshot
...
@@ -18,5 +18,5 @@ export SLAPOS_TEST_LOG_DIRECTORY=`pwd`/snapshot
...
@@ -18,5 +18,5 @@ export SLAPOS_TEST_LOG_DIRECTORY=`pwd`/snapshot
#time ../k/kpython_for_test -m unittest discover -vf -k SimCard
#time ../k/kpython_for_test -m unittest discover -vf -k SimCard
#time ../k/kpython_for_test -m unittest discover -vf
#time ../k/kpython_for_test -m unittest discover -vf
#time ../k/kpython_for_test -m unittest discover -vf -k TestENB_CPRI
#time ../k/kpython_for_test -m unittest discover -vf -k TestENB_CPRI
#
time ../k/kpython_for_test -m unittest discover -vf -k TestENB_SDR
time
../k/kpython_for_test
-m
unittest discover
-vf
-k
TestENB_SDR
time
../k/kpython_for_test
-m
unittest discover
-vf
-k
TestENB_Lopcomm
#
time ../k/kpython_for_test -m unittest discover -vf -k TestENB_Lopcomm
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