[PATCH] fwts-test: arg-help-0001: fix test-0002.sh incorrectly uses arg-help-0001.log
Alex Hung
alex.hung at canonical.com
Tue Mar 25 08:13:00 UTC 2014
Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
fwts-test/arg-help-0001/test-0002.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fwts-test/arg-help-0001/test-0002.sh b/fwts-test/arg-help-0001/test-0002.sh
index d8b3815..fffef38 100755
--- a/fwts-test/arg-help-0001/test-0002.sh
+++ b/fwts-test/arg-help-0001/test-0002.sh
@@ -25,7 +25,7 @@ if [ $? -eq 1 ]; then
fi
$FWTS --help | grep -v "Show version" | grep -v "Usage" | sed s/\(V[0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]\)/\(Vxx\.xx\.xx\)/ > $TMPLOG
-sed s/\(V[0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]\)/\(Vxx\.xx\.xx\)/ < $FWTSTESTDIR/arg-help-0001/arg-help-0001.log > $TMP/help.log.$$.orig
+sed s/\(V[0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]\)/\(Vxx\.xx\.xx\)/ < $FWTSTESTDIR/arg-help-0001/arg-help-0002.log > $TMP/help.log.$$.orig
diff $TMPLOG $TMP/help.log.$$.orig >> $FAILURE_LOG
ret=$?
if [ $ret -eq 0 ]; then
--
1.8.1.2
More information about the fwts-devel
mailing list