From 6857ecadf0409e903db8ad9df1e43fbe22313f65 Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Wed, 11 Jan 2006 09:27:46 +0000 Subject: [PATCH] taking care of the result --- zypp/solver/testsuite/lib/solver_init.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zypp/solver/testsuite/lib/solver_init.exp b/zypp/solver/testsuite/lib/solver_init.exp index 85ce776..9ef2d54 100644 --- a/zypp/solver/testsuite/lib/solver_init.exp +++ b/zypp/solver/testsuite/lib/solver_init.exp @@ -158,7 +158,8 @@ proc multi-run { src } { continue } - exec sh -c "/usr/bin/fgrep \'>!>\' $outfile >$outfilegrep" + set command "/usr/bin/fgrep \'>!>\' $outfile >$outfilegrep" + set oops [catch { set result [exec sh -c $command] } catched] if { [ file exists $refoutfile ] == 0 } { perror "Missing file $refoutfile" 0 -- 2.7.4