### -*-autotest-*- ### ### Test script for system features ### ### (c) 2009 Straylight/Edgeware ### ###----- Licensing notice --------------------------------------------------- ### ### This file is part of the mLib utilities library. ### ### mLib is free software; you can redistribute it and/or modify ### it under the terms of the GNU Library General Public License as ### published by the Free Software Foundation; either version 2 of the ### License, or (at your option) any later version. ### ### mLib is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY; without even the implied warranty of ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ### GNU Library General Public License for more details. ### ### You should have received a copy of the GNU Library General Public ### License along with mLib; if not, write to the Free ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, ### 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]) AT_KEYWORDS([sys mdup]) mdup=BUILDDIR/t/mdup.t ## Very simple cases. AT_CHECK([$mdup 3:4]) AT_CHECK([$mdup 4:3]) ## Overlapping sources and destinations AT_CHECK([$mdup 4:3 3:5 5:6]) ## Repeated sources AT_CHECK([$mdup 3:4 3:3 3:-1]) AT_CHECK([$mdup 5:8 3:4 3:5 4:6]) ## 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]) AT_CLEANUP ###----- That's all, folks --------------------------------------------------