[BACK]Return to h_macros.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / tests

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/tests/h_macros.h between version 1.5 and 1.6

version 1.5, 2010/08/16 17:01:43 version 1.6, 2010/08/31 17:21:14
Line 44 
Line 44 
         ATF_CHECK_MSG((x) != (v), "%s: %s", #x, strerror(errno))          ATF_CHECK_MSG((x) != (v), "%s: %s", #x, strerror(errno))
   
 #define RL(x) REQUIRE_LIBC(x, -1)  #define RL(x) REQUIRE_LIBC(x, -1)
   #define RZ(x)                                                           \
   do {                                                                    \
           int RZ_rv = x;                                                  \
           ATF_REQUIRE_MSG(RZ_rv == 0, "%s: %s", #x, strerror(RZ_rv));     \
   } while (/*CONSTCOND*/0)
   
 static __inline void  static __inline void
 atf_tc_fail_errno(const char *fmt, ...)  atf_tc_fail_errno(const char *fmt, ...)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb <webmaster@jp.NetBSD.org>