test: drop useless "set -x"
This no longer works when running tests in Docker containers because the wrapper script for starting there only accepts a simple command, not something that must be interpreted by a shell. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
This commit is contained in:
parent
90c3ca329d
commit
2bc0535881
|
@ -395,8 +395,9 @@ class Context:
|
|||
|
||||
if not runAsIs:
|
||||
cmdstr = " ".join([(' ' in x or '(' in x or '\\' in x or x == '') and ("'" in x and '"%s"' or "'%s'") % x or x for x in cmd])
|
||||
if dumpCommands:
|
||||
cmdstr = "set -x; " + cmdstr
|
||||
# if dumpCommands:
|
||||
# Doesn't work, we need a single command.
|
||||
# cmdstr = "set -x; " + cmdstr
|
||||
|
||||
cwd = os.getcwd()
|
||||
# Most commands involving schroot need to run with paths as seen inside the chroot.
|
||||
|
|
Loading…
Reference in New Issue