Commit 7ff67bd4 authored by Summer Stapleton's avatar Summer Stapleton
Browse files

Updating truthdata for ProgramLauncher to account for OS specific termination codes/errors

parent e4e7720c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -40,9 +40,8 @@ Testing malformed command...
NOTE: The exit code for this test differs on each OS.
That is the reason for the OS specific truth files. Please ignore the exit codes.

sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
**PROGRAMMER ERROR** Executing command [ls -l * | grep Program | sed 's/\(.*\)\(ProgramLauncher.*\)/\2/] failed with return status [256].
sh: 1: Syntax error: Unterminated quoted string
**PROGRAMMER ERROR** Executing command [ls -l * | grep Program | sed 's/\(.*\)\(ProgramLauncher.*\)/\2/] failed with return status [512].

Testing non-existant Isis 3 program... 

@@ -54,7 +53,8 @@ That is the reason for the OS specific truth files. Please ignore the exit codes

terminate called after throwing an instance of 'Isis::IException'
  what():  **ERROR** This process (program) was executed by an existing Isis 3 process. However, we failed to establish a communication channel with the parent (launcher) process. The parent process has a PID of [999].
**PROGRAMMER ERROR** Executing command [$ISISROOT/bin/stats from=\$base/testData/ab102401_ideal.cub -pid=999 -preference=\$ISISROOT/TestPreferences] failed with return status [134].
Aborted (core dumped)
**PROGRAMMER ERROR** Executing command [$ISISROOT/bin/stats from=\$base/testData/ab102401_ideal.cub -pid=999 -preference=\$ISISROOT/TestPreferences] failed with return status [34304].

Testing using Isis 3 program as a system program without pid...