bug-dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-dejagnu] [BUG] Quotes problem in calling rsh from script


From: Deepak Barua
Subject: [Bug-dejagnu] [BUG] Quotes problem in calling rsh from script
Date: Thu, 3 Apr 2008 16:55:02 +0530

Hi Everybody,
                     This seems to be the error
ERROR: tcl error sourcing
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/gcc-4.2.2/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp.
ERROR: extra characters after close-quote
   while compiling
"set status [catch "exec cat $inp | $RSH $rsh_useropts $hostname "sh
-c" '$cmd $pargs \\; echo XYZ\\\${?}ZYX' |& cat" output]
   verbose "$RSH output ..."
   (compiling body of proc "rsh_exec", line 50)
   invoked from within

The '-c' or the '-f' option in rm -f gets interpreted as a option to
the 'rsh' program when actually it is meant for the command to be
executed after 'rsh' is executed ...

So i have included a patch which escapes the option characters ...

config.guess
address@hidden:/dejagnu-1.4.4$ ./config.guess
x86_64-unknown-linux-gnu

I have also attached the config.log and the patch i have made to
correct this error.


Hope this is useful


Regards
Deepak

-- 
Hack Hack Hack

Attachment: config.log
Description: Text Data

Attachment: dejagnu-1.4.4.u5.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]