X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/faa63d863ffa61bdc04f010a00c967e8aacbe103..f7e192e7f9ed26e8c1aa77b9b9e4787b7120649a:/sys/tests.at diff --git a/sys/tests.at b/sys/tests.at index a3e8d38..da79143 100644 --- a/sys/tests.at +++ b/sys/tests.at @@ -25,6 +25,21 @@ ### MA 02111-1307, USA. ###-------------------------------------------------------------------------- +### fdpass + +AT_SETUP([sys: fdpass]) +AT_KEYWORDS([sys fdpass]) + +fdpass=BUILDDIR/t/fdpass.t + +AT_CHECK([ + $fdpass server sock& + while ! [[ -S sock ]]; do sleep 1; done + $fdpass client sock && wait]) + +AT_CLEANUP + +###-------------------------------------------------------------------------- ### mdup AT_SETUP([sys: mdup]) @@ -36,14 +51,14 @@ mdup=BUILDDIR/t/mdup.t AT_CHECK([$mdup 3:4]) AT_CHECK([$mdup 4:3]) -## Overlapping sources and destinations +## Overlapping sources and destinations. AT_CHECK([$mdup 4:3 3:5 5:6]) -## Repeated sources +## Repeated sources. AT_CHECK([$mdup 3:4 3:3 3:-1]) AT_CHECK([$mdup 5:8 3:4 3:5 4:6]) -## Cycles +## Cycles. AT_CHECK([$mdup 5:7 3:4 3:5 4:6 5:3]) AT_CHECK([$mdup 5:8 3:4 3:5 4:6 5:3])