Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.toolbox
Commits
b1bc3918
Commit
b1bc3918
authored
Sep 12, 2019
by
Łukasz Nowak
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
promise/plugin: Check stderr from executed commands
parent
cc1d5d16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
slapos/test/promise/plugin/test_check_command_execute.py
slapos/test/promise/plugin/test_check_command_execute.py
+2
-1
No files found.
slapos/test/promise/plugin/test_check_command_execute.py
View file @
b1bc3918
...
@@ -46,11 +46,12 @@ class TestCheckCommandExecute(TestPromisePluginMixin):
...
@@ -46,11 +46,12 @@ class TestCheckCommandExecute(TestPromisePluginMixin):
self
.
fail_command
=
os
.
path
.
join
(
self
.
tempdir
,
'fail'
)
self
.
fail_command
=
os
.
path
.
join
(
self
.
tempdir
,
'fail'
)
self
.
_createScript
(
self
.
fail_command
,
"""#/bin/sh
self
.
_createScript
(
self
.
fail_command
,
"""#/bin/sh
echo failure
echo failure
echo me
echo me
1>&2
exit 1"""
)
exit 1"""
)
self
.
success_command
=
os
.
path
.
join
(
self
.
tempdir
,
'success'
)
self
.
success_command
=
os
.
path
.
join
(
self
.
tempdir
,
'success'
)
self
.
_createScript
(
self
.
success_command
,
"""#/bin/sh
self
.
_createScript
(
self
.
success_command
,
"""#/bin/sh
echo success
echo success
echo me 1>&2
exit 0"""
)
exit 0"""
)
self
.
promise_name
=
"check-command-execute.py"
self
.
promise_name
=
"check-command-execute.py"
...
...
Łukasz Nowak
@luke
mentioned in merge request
!64 (merged)
·
Sep 12, 2019
mentioned in merge request
!64 (merged)
mentioned in merge request !64
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