summaryrefslogtreecommitdiff
path: root/tests/run-threaded.c
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@gnupg.org>2019-06-05 16:14:38 +0200
committerAndre Heinecke <aheinecke@gnupg.org>2019-06-05 16:20:31 +0200
commit3a3648e3a56712261bda4fa866bd2419a740cec8 (patch)
tree7e343af17e180769ef1847d8dfd8486a1943af09 /tests/run-threaded.c
parent3a11421d0f63b8cb5afa407cd65f763b11033241 (diff)
downloadgpgme-3a3648e3a56712261bda4fa866bd2419a740cec8.tar.gz
tests: Use synced output for error in run-threaded
* tests/run-threaded.c (do_data_op): Use synced out macro.
Diffstat (limited to 'tests/run-threaded.c')
-rw-r--r--tests/run-threaded.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-threaded.c b/tests/run-threaded.c
index 60402c13..8a1c666e 100644
--- a/tests/run-threaded.c
+++ b/tests/run-threaded.c
@@ -504,8 +504,8 @@ do_data_op (void *file_name)
}
default:
{
- fprintf (stderr, "Unhandled data type 0x%x for '%s'", type, fname);
- exit(1);
+ out ("Unhandled data type 0x%x for '%s'\n", type, fname);
+ errpoint;
}
}