Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.rebootstrap
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.rebootstrap
Commits
83d658a0
Commit
83d658a0
authored
May 07, 2024
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make tests more complete
parent
785b425d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
slapos/rebootstrap/different_version.txt
slapos/rebootstrap/different_version.txt
+8
-0
slapos/rebootstrap/same_version.txt
slapos/rebootstrap/same_version.txt
+16
-0
No files found.
slapos/rebootstrap/different_version.txt
View file @
83d658a0
...
@@ -62,6 +62,10 @@ Develop: '/sample-buildout/recipes'
...
@@ -62,6 +62,10 @@ Develop: '/sample-buildout/recipes'
... recipe = recipes:pyshow
... recipe = recipes:pyshow
... """ % dict(syspython=sys.executable))
... """ % dict(syspython=sys.executable))
>>> cat(buildout) # doctest: +ELLIPSIS
#!/system_python
...
>>> print(system(buildout, env={'PYTHONWARNINGS':'ignore'})) # doctest: +ELLIPSIS
>>> print(system(buildout, env={'PYTHONWARNINGS':'ignore'})) # doctest: +ELLIPSIS
slapos.rebootstrap: Make sure that the section 'installpython' won't be reinstalled after rebootstrap.
slapos.rebootstrap: Make sure that the section 'installpython' won't be reinstalled after rebootstrap.
Develop: '/sample-buildout/recipes'
Develop: '/sample-buildout/recipes'
...
@@ -81,3 +85,7 @@ Updating installpython.
...
@@ -81,3 +85,7 @@ Updating installpython.
Installing realrun.
Installing realrun.
Running with: /sample_buildout/parts/installpython/bin/python
Running with: /sample_buildout/parts/installpython/bin/python
<BLANKLINE>
<BLANKLINE>
>>> cat(buildout) # doctest: +ELLIPSIS
/sample-buildout/parts/installpython/bin/python
...
slapos/rebootstrap/same_version.txt
View file @
83d658a0
...
@@ -22,6 +22,10 @@ Develop: '/sample-buildout/recipes'
...
@@ -22,6 +22,10 @@ Develop: '/sample-buildout/recipes'
... recipe = recipes:pyshow
... recipe = recipes:pyshow
... """ % dict(syspython=sys.executable))
... """ % dict(syspython=sys.executable))
>>> cat(buildout) # doctest: +ELLIPSIS
#!/system_python
...
>>> print(system(buildout, env={'PYTHONWARNINGS':'ignore'}))
>>> print(system(buildout, env={'PYTHONWARNINGS':'ignore'}))
slapos.rebootstrap: Make sure that the section 'installpython' won't be reinstalled after rebootstrap.
slapos.rebootstrap: Make sure that the section 'installpython' won't be reinstalled after rebootstrap.
Develop: '/sample-buildout/recipes'
Develop: '/sample-buildout/recipes'
...
@@ -42,6 +46,10 @@ Installing realrun.
...
@@ -42,6 +46,10 @@ Installing realrun.
Running with: /sample_buildout/parts/installpython/bin/python
Running with: /sample_buildout/parts/installpython/bin/python
<BLANKLINE>
<BLANKLINE>
>>> cat(buildout) # doctest: +ELLIPSIS
/sample-buildout/parts/installpython/bin/python
...
>>> print(system(buildout, env={'PYTHONWARNINGS':'ignore'}))
>>> print(system(buildout, env={'PYTHONWARNINGS':'ignore'}))
Develop: '/sample-buildout/recipes'
Develop: '/sample-buildout/recipes'
Updating installpython.
Updating installpython.
...
@@ -49,6 +57,10 @@ Updating realrun.
...
@@ -49,6 +57,10 @@ Updating realrun.
Running with: /sample_buildout/parts/installpython/bin/python
Running with: /sample_buildout/parts/installpython/bin/python
<BLANKLINE>
<BLANKLINE>
>>> cat(buildout) # doctest: +ELLIPSIS
/sample-buildout/parts/installpython/bin/python
...
>>> cp(buildout + '-orig', buildout)
>>> cp(buildout + '-orig', buildout)
>>> print(system(buildout, env={'PYTHONWARNINGS':'ignore'}))
>>> print(system(buildout, env={'PYTHONWARNINGS':'ignore'}))
slapos.rebootstrap: Make sure that the section 'installpython' won't be reinstalled after rebootstrap.
slapos.rebootstrap: Make sure that the section 'installpython' won't be reinstalled after rebootstrap.
...
@@ -68,3 +80,7 @@ Updating installpython.
...
@@ -68,3 +80,7 @@ Updating installpython.
Updating realrun.
Updating realrun.
Running with: /sample_buildout/parts/installpython/bin/python
Running with: /sample_buildout/parts/installpython/bin/python
<BLANKLINE>
<BLANKLINE>
>>> cat(buildout) # doctest: +ELLIPSIS
/sample-buildout/parts/installpython/bin/python
...
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