[PATCH] Do not truncate output of nwfilter2vmtest.sh

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

 



When printing test results, nwfilter2vmtest.sh, truncates
the output at 66 or 70 characters. This is very unhelpful
when debugging problems where you want to see the full
output

Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
---
 scripts/nwfilter/nwfilter2vmtest.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/nwfilter/nwfilter2vmtest.sh b/scripts/nwfilter/nwfilter2vmtest.sh
index f44f299..a68c771 100644
--- a/scripts/nwfilter/nwfilter2vmtest.sh
+++ b/scripts/nwfilter/nwfilter2vmtest.sh
@@ -68,7 +68,7 @@ EOF
 
 
 tap_fail() {
-  txt=$(echo "$2" | gawk '{print substr($0,1,66)}')
+  txt=$(echo "$2")
   echo "not ok $1 - ${txt}"
   TAP_FAIL_LIST="$TAP_FAIL_LIST $1 "
   TAP_FAIL_CTR=$(($TAP_FAIL_CTR + 1))
@@ -76,7 +76,7 @@ tap_fail() {
 }
 
 tap_pass() {
-  txt=$(echo "$2" | gawk '{print substr($0,1,70)}')
+  txt=$(echo "$2")
   echo "ok $1 - ${txt}"
   TAP_TOT_CTR=$(($TAP_TOT_CTR + 1))
 }
-- 
1.8.5.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]