Andreas Schwab wrote:
Jie Zhang <[EMAIL PROTECTED]> writes:
So we have to use single quotes. The updated patch is attached.
This will break if the value can contain single quotes.
How about using double quotes but escaping ", \, $, and ` using
backslash? The patch is attached.
Jie
diff -
Jie Zhang <[EMAIL PROTECTED]> writes:
> So we have to use single quotes. The updated patch is attached.
This will break if the value can contain single quotes.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fi
Andreas Schwab wrote:
Jie Zhang <[EMAIL PROTECTED]> writes:
Andreas Schwab wrote:
Jie Zhang <[EMAIL PROTECTED]> writes:
@@ -261,7 +262,11 @@ proc rsh_exec { boardname program pargs inp outp } {
set inp "/dev/null"
}
-set ret [local_exec "$RSH $rsh_useropts $hostname sh -c '
Jie Zhang <[EMAIL PROTECTED]> writes:
> Andreas Schwab wrote:
>> Jie Zhang <[EMAIL PROTECTED]> writes:
>>
>>> @@ -261,7 +262,11 @@ proc rsh_exec { boardname program pargs inp outp } {
>>> set inp "/dev/null"
>>> }
>>> -set ret [local_exec "$RSH $rsh_useropts $hostname sh -c '$program
Andreas Schwab wrote:
Jie Zhang <[EMAIL PROTECTED]> writes:
@@ -261,7 +262,11 @@ proc rsh_exec { boardname program pargs inp outp } {
set inp "/dev/null"
}
-set ret [local_exec "$RSH $rsh_useropts $hostname sh -c '$program $pargs \\; echo XYZ\\\${?}ZYX'" $inp $outp $timeout]
Jie Zhang <[EMAIL PROTECTED]> writes:
> @@ -261,7 +262,11 @@ proc rsh_exec { boardname program pargs inp outp } {
> set inp "/dev/null"
> }
>
> -set ret [local_exec "$RSH $rsh_useropts $hostname sh -c '$program $pargs
> \\; echo XYZ\\\${?}ZYX'" $inp $outp $timeout]
> +set rem
libmudflap tests set a environment MUDFLAP_OPTIONS=-viol-segv before
testing such that violations are promoted to SIGSEGV signals in testing.
Otherwise, the exit value would be 0 even the test has violations.
libmudflap testsuite depends on the exit value of tests to decide if the
test PASS or