Files
Zygmunt Krynicki 21cee02844 tests: reset PS1 before possibly interactive dash
Dash cannot expand PS1 as set by spread.
This patch changes all of the "run shell command" apps to reset PS1 to a safe value.

The use of PS=1'${PWD/#$SPREAD_PATH/...} #' causes dash to enter an infinite
loop. While the dash bug is a real bug, we should work around it. I have countless times
accidentally invoked interactive dash only to get upset and lose my debugging session.

The dash bug has been reported to the dash mailing list (there is no bug tracker).

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
2020-02-19 13:00:59 +01:00
..
2017-05-09 09:32:59 +02:00