On Thu, Apr 23, 2009 at 11:24:38 +1000, Trent W.Buck wrote: > Thu Apr 23 11:17:45 EST 2009 Trent W. Buck <[email protected]> > * Resolve issue1434: refactor example test.
Applied, thanks! Resolve issue1434: refactor example test. ----------------------------------------- > Trent W. Buck <[email protected]>**20090423011745 > Ignore-this: eab79a32c39a957540dbeeb302292ddd > ] move ./tests/example.sh ./tests/EXAMPLE.sh Interestingly, darcs on my Mac wants to back up example.sh when it does this. I've updated http://wiki.darcs.net/index.html/RegressionTests accordingly > hunk ./tests/EXAMPLE.sh 2 > #!/usr/bin/env bash > +## Test for issueNNNN - <SYNOPSIS: WHAT IS THE BUG? THIS SYNOPSIS > +## SHOULD BE ONE OR TWO SENTENCES.> > +## > +## Copyright (C) YEAR AUTHOR > +## > +## This program is free software; you can redistribute it and/or modify > +## it under the terms of the GNU General Public License as published by > +## the Free Software Foundation; either version 2 of the License, or > +## (at your option) any later version. > +## > +## This program 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 General Public License for more details. > > hunk ./tests/EXAMPLE.sh 17 > -. lib > - > -rm -rf temp1 temp2 > -mkdir temp1 > -cd temp1 > -darcs init > -cd .. > - > -rm -rf temp1 temp2 > +. lib # Load some portability helpers. > +rm -rf R S # Another script may have left a mess. > +darcs init --repo R # Create our test repos. > +darcs init --repo S > +mkdir R/d/ R/e/ # Change the working tree. > +echo 'Example content.' >R/d/f > +darcs record --repo R -lam 'Add d/f and e.' > +darcs mv --repo R d/f e/ > +darcs record --repo R -am 'Move d/f to e/f.' > +darcs push --repo R S -a # Try to push patches between repos. > +darcs push --repo S R > +rm -rf R/ S/ # Clean up after ourselves. -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
pgp6Zz7AenZ4a.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
