summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-05-29 13:56:04 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-05-29 13:56:04 +0200
commit58436a29556e3b8ff21cb2f494bfb83768dadb6d (patch)
tree099919fceb69c9956567f9852c0ba0f6f32e6033
parent5cef49ff3074f9eab1da6937a141a39a20828502 (diff)
downloadqutebrowser-process-message-improvements.tar.gz
qutebrowser-process-message-improvements.zip
-rw-r--r--qutebrowser/misc/guiprocess.py2
-rw-r--r--tests/end2end/features/hints.feature8
-rw-r--r--tests/end2end/features/spawn.feature2
3 files changed, 6 insertions, 6 deletions
diff --git a/qutebrowser/misc/guiprocess.py b/qutebrowser/misc/guiprocess.py
index 5057b1eb8..9aebf8013 100644
--- a/qutebrowser/misc/guiprocess.py
+++ b/qutebrowser/misc/guiprocess.py
@@ -134,7 +134,7 @@ class ProcessOutcome:
sig = self._crash_signal()
if sig is None:
return f"{msg}."
- return f"{msg} ({sig.name})."
+ return f"{msg} ({sig.name})."
elif self.was_successful():
return f"{self.what.capitalize()} exited successfully."
diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature
index 2d597da13..1cfd8ccad 100644
--- a/tests/end2end/features/hints.feature
+++ b/tests/end2end/features/hints.feature
@@ -62,23 +62,23 @@ Feature: Using hints
Scenario: Using :hint spawn with flags and -- (issue 797)
When I open data/hints/html/simple.html
And I hint with args "-- all spawn -v (python-executable) -c ''" and follow a
- Then the message "Command exited successfully." should be shown
+ Then the message "Command exited successfully. See :process * for details." should be shown
Scenario: Using :hint spawn with flags (issue 797)
When I open data/hints/html/simple.html
And I hint with args "all spawn -v (python-executable) -c ''" and follow a
- Then the message "Command exited successfully." should be shown
+ Then the message "Command exited successfully. See :process * for details." should be shown
Scenario: Using :hint spawn with flags and --rapid (issue 797)
When I open data/hints/html/simple.html
And I hint with args "--rapid all spawn -v (python-executable) -c ''" and follow a
- Then the message "Command exited successfully." should be shown
+ Then the message "Command exited successfully. See :process * for details." should be shown
@posix
Scenario: Using :hint spawn with flags passed to the command (issue 797)
When I open data/hints/html/simple.html
And I hint with args "--rapid all spawn -v echo -e foo" and follow a
- Then the message "Command exited successfully." should be shown
+ Then the message "Command exited successfully. See :process * for details." should be shown
Scenario: Using :hint run
When I open data/hints/html/simple.html
diff --git a/tests/end2end/features/spawn.feature b/tests/end2end/features/spawn.feature
index ba2cc7474..d45b6321e 100644
--- a/tests/end2end/features/spawn.feature
+++ b/tests/end2end/features/spawn.feature
@@ -4,7 +4,7 @@ Feature: :spawn
Scenario: Running :spawn
When I run :spawn -v (echo-exe) "Hello"
- Then the message "Command exited successfully." should be shown
+ Then the message "Command exited successfully. See :process * for details." should be shown
Scenario: Running :spawn with command that does not exist
When I run :spawn command_does_not_exist127623