diff options
-rw-r--r-- | tests/test-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-common.c b/tests/test-common.c index 76e74099..34c0e9a8 100644 --- a/tests/test-common.c +++ b/tests/test-common.c @@ -39,7 +39,7 @@ diff_with_file (const char *file, gssize len, GError **error) { - const char *command[] = { "diff", "-u", file, NULL, NULL }; + const char *command[] = { "diff", "-u", "-i", file, NULL, NULL }; char *diff, *tmpfile; int fd; @@ -62,7 +62,7 @@ diff_with_file (const char *file, goto done; } close (fd); - command[3] = tmpfile; + command[4] = tmpfile; /* run diff command */ g_spawn_sync (NULL, |