summaryrefslogtreecommitdiff
path: root/sync-basic/sync-basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sync-basic/sync-basic.c')
-rw-r--r--sync-basic/sync-basic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sync-basic/sync-basic.c b/sync-basic/sync-basic.c
index 723f122..7aa2e82 100644
--- a/sync-basic/sync-basic.c
+++ b/sync-basic/sync-basic.c
@@ -56,7 +56,7 @@ void fatal (int error, const char *fmt, ...)
va_end (ap);
fprintf (stderr, "\n");
/* printf(RED); */
- printf ("%d [%s]: test failed\n", testno, testname);
+ printf ("%d [sync_basic_%s]: test failed\n", testno, testname);
/* printf(NORMAL); */
exit (1);
}
@@ -75,7 +75,7 @@ void pass (const char *fmt, ...)
}
fprintf (stderr, "\n");
/* printf(GREEN); */
- printf ("%d [%s]: test passed\n", testno, testname);
+ printf ("%d [sync_basic_%s]: test passed\n", testno, testname);
/* printf(NORMAL); */
}
@@ -328,7 +328,7 @@ int main (int argc, char *argv[])
{
/* 0 - just try to open */
testno++;
- strcpy (testname, "try-open");
+ strcpy (testname, "try_open");
sw_fd = open (SW_SYNC_DEV, O_RDWR);
if (sw_fd < 0)
fatal (errno, "can't open '%s'", SW_SYNC_DEV);