Ignore:
Timestamp:
Jun 13, 2010, 1:50:18 AM (12 years ago)
Author:
Peter Johansson
Message:

fixes #445. tests are now performed in testSubDir/foo and each test has its own wc (and own svndigest cache) to work on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/cmd_format_test.sh

    r1023 r1092  
    2525set -e
    2626
    27 $mkdir_p $targetdir
    28 $SVNDIGEST -f -r $rootdir -t $targetdir --format=banana 2> tmp_stderr && exit_fail
    29 test -s tmp_stderr || exit_fail
    30 cat tmp_stderr
    31 grep 'invalid argument.*banana.*format' tmp_stderr || exit_fail
    32 rm -f tmp_stderr
     27SVNDIGEST_run 1 -f --format=banana
     28test -s stderr || exit_fail
     29grep 'invalid argument.*banana.*format' stderr || exit_fail
    3330
    34 $SVNDIGEST -g --format=svg --anchor-format=svg > tmp_stdout
    35 cat tmp_stdout
    36 grep 'format = svg' tmp_stdout || exit_fail
    37 grep 'anchor_format = svg' tmp_stdout || exit_fail
    38 rm -f tmp_stdout
     31SVNDIGEST_run 0 -g --format=svg --anchor-format=svg
     32grep 'format = svg' stdout || exit_fail
     33grep 'anchor_format = svg' stdout || exit_fail
    3934
    4035exit_success;
Note: See TracChangeset for help on using the changeset viewer.