Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f41986bb authored by Jeff Hamilton's avatar Jeff Hamilton
Browse files

Don't alias 'stop' to 'kill -STOP'

Android has already has a stop command used
to stop the main runtime and the alias
interferes with testing tools that expect
stop to kill the runtime.

Change-Id: I02b7efb9203dc39e97f63eb702a54ff79935b316
parent bb130ba7
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -15,5 +15,8 @@ The manual page can be downloaded as PDF (ISO A4 paper) from
https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh.pdf or read
online at https://www.mirbsd.org/man1/mksh (HTML).

There are currently no changes to the code in this
subdirectory.
The following changes are done to code in this subdirectory
at the moment:
• check.t main.sh: remove the 'stop' alias to 'kill -STOP'
  since Android has a built in stop command that the alias
  overrides, causing problems with testing tools
 No newline at end of file
+0 −3
Original line number Diff line number Diff line
@@ -5351,7 +5351,6 @@ expected-stdout:
	nohup='nohup '
	r='fc -e -'
	source='PATH=$PATH:. command .'
	stop='kill -STOP'
	suspend='kill -STOP $$'
	type='whence -v'
---
@@ -5421,7 +5420,6 @@ expected-stdout:
	nohup='nohup '
	r='fc -e -'
	source='PATH=$PATH:. command .'
	stop='kill -STOP'
	suspend='kill -STOP $$'
	type='whence -v'
---
@@ -5446,7 +5444,6 @@ expected-stdout:
	nohup='nohup '
	r='fc -e -'
	source='PATH=$PATH:. command .'
	stop='kill -STOP'
	suspend='kill -STOP $$'
	type='whence -v'
---
+0 −1
Original line number Diff line number Diff line
@@ -74,7 +74,6 @@ static const char *initcoms[] = {
	"hash=alias -t",	/* not "alias -t --": hash -r needs to work */
	"type=whence -v",
#ifndef MKSH_UNEMPLOYED
	"stop=kill -STOP",
	"suspend=kill -STOP $$",
#endif
	"autoload=typeset -fu",