diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2024-04-11 11:35:17 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2024-04-11 11:35:17 +0200 |
commit | 8d9cdb31f7cc41bb2252be70a2410030551aabde (patch) | |
tree | 1324339165b58a1e24170413d44d58698be7f4b0 /test/test-shutdown.py | |
parent | test: PROJECT_FILE macro cannot be used in generated code (diff) | |
download | systemd-8d9cdb31f7cc41bb2252be70a2410030551aabde.tar.xz systemd-8d9cdb31f7cc41bb2252be70a2410030551aabde.zip |
test: make the output of TEST-69 less painful to read
The logs from TEST-69 still contain a lot of unnecessary shell
metacharacters, so to make the output more readable let's just set
TERM=dumb, instead of having to strip everything semi-manually. Also,
move the related --background= tweak to TEST-69, since it's relevant
only for that particular test.
Follow-up for 8d4bfd38ed941aa8003d7007145eccc01f52a5f6.
Diffstat (limited to 'test/test-shutdown.py')
-rwxr-xr-x | test/test-shutdown.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test-shutdown.py b/test/test-shutdown.py index 870c1e269f..d19a03742c 100755 --- a/test/test-shutdown.py +++ b/test/test-shutdown.py @@ -12,7 +12,6 @@ import pexpect def run(args): - ret = 1 logger = logging.getLogger("test-shutdown") logfile = None @@ -25,7 +24,7 @@ def run(args): logger.info("spawning test") console = pexpect.spawn(args.command, args.arg, logfile=logfile, env={ - "TERM": "linux", + "TERM": "dumb", }, encoding='utf-8', timeout=60) logger.debug("child pid %d", console.pid) |