Print some debug info in case of failure
authorZdeněk Šustr <sustr4@cesnet.cz>
Fri, 25 Jan 2013 15:40:23 +0000 (15:40 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 31 Jan 2013 20:41:27 +0000 (21:41 +0100)
org.glite.testsuites.ctb/LB/tests/lb-test-https.sh

index 38560e2..b62a9dc 100755 (executable)
@@ -172,7 +172,8 @@ test_done
 
                                        if [ "$?" != "0" ]; then
                                                test_failed
-                                               print_error "JobID not found among data returned"
+                                               print_error "JobID not found among data returned:"
+                                               $SYS_CAT https.$$.tmp
                                        else
                                                test_done
                                        fi
@@ -220,7 +221,8 @@ test_done
 
                                        if [ "$?" != "0" ]; then
                                                test_failed
-                                               print_error "Notification ID not found among data returned"
+                                               print_error "Notification ID not found among data returned:"
+                                               $SYS_CAT https.$$.tmp
                                        else
                                                test_done
                                        fi