From: Dmitry V. Levin Date: Mon, 4 Jan 2016 23:31:09 +0000 (+0000) Subject: tests/adjtimex.c: use libtests X-Git-Tag: v4.12~769 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=463bb88de17708b9325a88b54e77b9f74c014d98;p=strace tests/adjtimex.c: use libtests * tests/adjtimex.c (main): Use perror_msg_and_skip. --- 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"