]> git.mdlowis.com Git - projs/atf.git/commitdiff
Added text representation of signal name to crash output
authorMike D. Lowis <mike.lowis@gentex.com>
Tue, 7 Apr 2015 12:57:14 +0000 (08:57 -0400)
committerMike D. Lowis <mike.lowis@gentex.com>
Tue, 7 Apr 2015 12:57:14 +0000 (08:57 -0400)
source/atf.c

index 992f68165e733ded46c405763533f942cad8142f..e1017e8a2f53cc3081209a168acc9bccec389c1f 100755 (executable)
@@ -35,7 +35,7 @@ static void handle_signal(int sig) {
     }
     /* Error and exit. No summary will be printed but the user will know which
        test has crashed. */
-    fprintf(stderr,"%s:%d:0:%s:CRASH (signal: %d)\n", Curr_File, Curr_Line, Curr_Test, sig);
+    fprintf(stderr,"%s:%d:0:%s:CRASH (signal: %d - %s)\n", Curr_File, Curr_Line, Curr_Test, sig, sig_name);
     Failed++;
     (void)atf_print_results();
     exit(1);