]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
acpi: bios-tables-test: show more context on asl diffs
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 19 Jun 2020 09:18:55 +0000 (11:18 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Jun 2020 21:18:28 +0000 (17:18 -0400)
Makes it easier to create good commit messages from the logs.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200619091905.21676-3-kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/qtest/bios-tables-test.c

index b482f76c03d46dfce5c8bf499b188e8fe72dc17b..c315156858f41c03854d5d4814a6d0a01e883928 100644 (file)
@@ -469,7 +469,7 @@ static void test_acpi_asl(test_data *data)
                 fflush(stderr);
                 if (getenv("V")) {
                     const char *diff_env = getenv("DIFF");
-                    const char *diff_cmd = diff_env ? diff_env : "diff -u";
+                    const char *diff_cmd = diff_env ? diff_env : "diff -U 16";
                     char *diff = g_strdup_printf("%s %s %s", diff_cmd,
                                                  exp_sdt->asl_file, sdt->asl_file);
                     int out = dup(STDOUT_FILENO);