Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/tests/dev/cgd/t_cgd_aes.c,v rcsdiff: /ftp/cvs/cvsroot/src/tests/dev/cgd/t_cgd_aes.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.6 retrieving revision 1.7 diff -u -p -r1.6 -r1.7 --- src/tests/dev/cgd/t_cgd_aes.c 2017/01/13 21:30:39 1.6 +++ src/tests/dev/cgd/t_cgd_aes.c 2019/07/10 06:21:40 1.7 @@ -1,4 +1,4 @@ -/* $NetBSD: t_cgd_aes.c,v 1.6 2017/01/13 21:30:39 christos Exp $ */ +/* $NetBSD: t_cgd_aes.c,v 1.7 2019/07/10 06:21:40 martin Exp $ */ /*- * Copyright (c) 2016 The NetBSD Foundation, Inc. * Copyright (c) 2007 The Institute of Electrical and Electronics Engineers, Inc @@ -3565,7 +3565,12 @@ ATF_TC_BODY(cgd_aes_xts_512, tc) rump_init(); - RL(dkfd = open_disk(dkpath, imgpath, dksize)); + dkfd = open_disk(dkpath, imgpath, dksize); + if (dkfd == -1 && errno == ENOSPC) { + atf_tc_skip("not enough space"); + } else { + ATF_CHECK_MSG(dkfd != -1, "open_disk: %s", strerror(errno)); + } RL(cgdfd = open_cgd(0)); RL(configure_cgd(cgdfd, dkpath, "aes-xts", "encblkno1",