From 463bb88de17708b9325a88b54e77b9f74c014d98 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 4 Jan 2016 23:31:09 +0000 Subject: [PATCH] tests/adjtimex.c: use libtests * tests/adjtimex.c (main): Use perror_msg_and_skip. --- tests/adjtimex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/adjtimex.c b/tests/adjtimex.c index 316cefbb..50f77b68 100644 --- a/tests/adjtimex.c +++ b/tests/adjtimex.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Dmitry V. Levin + * Copyright (c) 2015-2016 Dmitry V. Levin * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -37,7 +37,7 @@ main(void) int state = adjtimex(&tx); if (state < 0) - return 77; + perror_msg_and_skip("adjtimex"); printf("adjtimex\\(\\{modes=0, offset=%jd, freq=%jd, maxerror=%jd" ", esterror=%jd, status=%s, constant=%jd, precision=%jd" -- 2.40.0