Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
spec.py
Commits
eb9b52fa
Commit
eb9b52fa
authored
Sep 08, 2010
by
Andreas Zwinkau
Browse files
Improved env cleaning
parent
1a391f63
Changes
1
Show whitespace changes
Inline
Side-by-side
spec.py
View file @
eb9b52fa
...
@@ -72,11 +72,6 @@ prepared_by = spec.py script
...
@@ -72,11 +72,6 @@ prepared_by = spec.py script
## just assuming:
## just assuming:
hw_fpu = Integrated
hw_fpu = Integrated
sw_state = Multi-user
sw_state = Multi-user
## cleaning environment
env_vars = 1
ENV_LANG=C
ENV_DISPLAY=
"""
"""
class
SigKill
(
Exception
):
class
SigKill
(
Exception
):
...
@@ -279,6 +274,6 @@ if __name__ == "__main__":
...
@@ -279,6 +274,6 @@ if __name__ == "__main__":
fh
.
write
(
conf
)
fh
.
write
(
conf
)
if
options
.
config_only
:
if
options
.
config_only
:
exit
(
0
)
exit
(
0
)
cmd
=
"bash -c 'source shrc && runspec all -c generated'"
cmd
=
"
env
bash
-l
-c 'source shrc && runspec all -c generated'"
os
.
system
(
cmd
)
os
.
system
(
cmd
)
Write
Preview
Supports
Markdown
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