1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

tests/basic.sh: fix embarrassing typo (re: 4a846a9d)

This commit is contained in:
Martijn Dekker 2021-04-09 04:06:54 +01:00
parent 504cbda269
commit 0538719e07

View file

@ -617,7 +617,7 @@ esac
# When running a script without a #! hashbang path, ksh attempts to replace argv with the arguments # When running a script without a #! hashbang path, ksh attempts to replace argv with the arguments
# of the script. However, fixargs() didn't wipe out the rest of previous arguments after the last # of the script. However, fixargs() didn't wipe out the rest of previous arguments after the last
# \0. This caused an erroneous record in /proc/<PID>/cmdline and the output of the ps command. # \0. This caused an erroneous record in /proc/<PID>/cmdline and the output of the ps command.
cd '$tmp" cd "$tmp"
getPsOutput() { getPsOutput() {
# UNIX95=1 makes this work on HP-UX. # UNIX95=1 makes this work on HP-UX.
actual=$(UNIX95=1 ps -o args= -p "$1" 2>&1) actual=$(UNIX95=1 ps -o args= -p "$1" 2>&1)