Changeset 1539


Ignore:
Timestamp:
Oct 10, 2012, 12:17:54 PM (9 years ago)
Author:
Peter Johansson
Message:

more tests for --update option. closes #334

Location:
trunk/test
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Makefile.am

    r1538 r1539  
    5858distributed_TESTS += test/try_help_test.sh
    5959distributed_TESTS += test/update_test.sh
     60distributed_TESTS += test/update_test2.sh
     61distributed_TESTS += test/update_test3.sh
     62distributed_TESTS += test/update_test4.sh
    6063
    6164TESTS = $(EXTRA_PROGRAMS) $(distributed_TESTS)
     
    112115test/try_help_test.log: test/init.sh bin/svndigest $(repo_stamp)
    113116test/update_test.log: test/init.sh bin/svndigest $(repo_stamp)
     117test/update_test2.log: test/init.sh bin/svndigest $(repo_stamp)
     118test/update_test3.log: test/init.sh bin/svndigest $(repo_stamp)
     119test/update_test4.log: test/init.sh bin/svndigest $(repo_stamp)
    114120
    115 cache_partial.log: $(repo_stamp)
    116 copyright.log: $(repo_stamp)
    117 stats.log: $(repo_stamp)
     121test/cache_partial.log: $(repo_stamp)
     122test/copyright.log: $(repo_stamp)
     123test/stats.log: $(repo_stamp)
  • trunk/test/update_test.sh

    r1538 r1539  
    2727$mkdir_p out
    2828
    29 $SVN update -r 50 $rootdir/lib
     29$SVN update -r 50 $rootdir/lib || exit_fail
    3030
    3131SVNDIGEST_run 0 -r $rootdir -t $targetdir --ignore-cache --format=none
     
    4343
    4444# update to latest rev
    45 $SVN update -r 71 $rootdir/lib
     45$SVN update -r 71 $rootdir/lib/Node.h
    4646
    4747SVNDIGEST_run 0 -r $rootdir -t $targetdir --update --format=none
     
    5151grep '^Printing output for ' stdout || exit_fail
    5252
    53 # lib/Node.cc hasn't been changed and should be printed again
     53# lib/Node.cc hasn't been changed and shouldn't be printed again
    5454grep '^Printing output for .*lib/Node.cc' stdout && exit_fail
    5555
Note: See TracChangeset for help on using the changeset viewer.