about summary refs log tree commit diff
path: root/pkgs/test/make-binary-wrapper/prefix.c
diff options
context:
space:
mode:
authorTobias Bergkvist <tobias@bergkv.ist>2021-12-01 22:56:18 +0100
committerTobias Bergkvist <tobias@bergkv.ist>2021-12-01 22:56:18 +0100
commit97d62a90f5ba28d6f16f40d20a679862394be8c2 (patch)
tree2c0fb068d69effdeb423a056abd77f646624a6f1 /pkgs/test/make-binary-wrapper/prefix.c
parent4e55d34535ae278b6130cba43edab6fd6c95e67d (diff)
Switch from exit(1) to abort() in assert_success
Diffstat (limited to 'pkgs/test/make-binary-wrapper/prefix.c')
-rw-r--r--pkgs/test/make-binary-wrapper/prefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/test/make-binary-wrapper/prefix.c b/pkgs/test/make-binary-wrapper/prefix.c
index 8f7dd9b679c45..8ca0ad94a6d70 100644
--- a/pkgs/test/make-binary-wrapper/prefix.c
+++ b/pkgs/test/make-binary-wrapper/prefix.c
@@ -8,7 +8,7 @@
 #include <assert.h>
 #include <stdio.h>
 
-#define assert_success(e) do { if ((e) < 0) { perror(#e); exit(1); } } while (0)
+#define assert_success(e) do { if ((e) < 0) { perror(#e); abort(); } } while (0)
 
 char *concat3(char *x, char *y, char *z) {
     int xn = strlen(x);