### -*-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. ###-------------------------------------------------------------------------- ### mdup AT_SETUP([sys: mdup]) AT_KEYWORDS([sys mdup]) mdup=BUILDDIR/t/mdup-test ## Very simple cases. $mdup 3:4 $mdup 4:3 ## Overlapping sources and destinations $mdup 4:3 3:5 5:6 ## Repeated sources $mdup 3:4 3:3 3:-1 $mdup 5:8 3:4 3:5 4:6 ## Cycles $mdup 5:7 3:4 3:5 4:6 5:3 $mdup 5:8 3:4 3:5 4:6 5:3 AT_CLEANUP ###----- That's all, folks --------------------------------------------------