Hello Daniel, On Mon, Aug 15, 2005 at 09:41:19AM -0400, Daniel Jacobowitz wrote: > In general the output of the program isn't what you want to test for > results; you want something like return code, or output matching a more > specific pattern, et cetera.
Ok. > > 2. I couldn't find a way to get the hostname that I set via > > set_board_info in my B.exp file. How can I do that? > > [board_info target hostname]? Looks like what I need, but I couldn't get the following to work: testsuite/subdir/test6.exp: load_lib "dejagnu.exp" cd $outdir/$subdir set a [board_info target hostname] verbose $a cd .. Command line: DEJAGNU=~/dejagnu/site.exp runtest -v --remote_board=j --objdir . --outdir testsuite --srcdir testsuite subdir/test6.exp ~/dejagnu/site.exp: lappend boards_dir "/home/ibr/dejagnu" ~/dejagnu/j.exp: load_generic_config "unix"; set_board_info hostname j set_board_info rsh_prog /usr/bin/ssh set_board_info rcp_prog /usr/bin/scp "ssh j" logs into j without a password. Do you see any problem? With kind regards, Baurzhan. _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org http://lists.gnu.org/mailman/listinfo/dejagnu