/[jscoverage]/trunk/tests/fatal.sh
ViewVC logotype

Diff of /trunk/tests/fatal.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2 by siliconforks, Wed Aug 1 13:51:53 2007 UTC revision 226 by siliconforks, Fri Oct 3 02:28:50 2008 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  #    fatal.sh - test various fatal errors  #    fatal.sh - test various fatal errors
3  #    Copyright (C) 2007 siliconforks.com  #    Copyright (C) 2007, 2008 siliconforks.com
4  #  #
5  #    This program is free software; you can redistribute it and/or modify  #    This program is free software; you can redistribute it and/or modify
6  #    it under the terms of the GNU General Public License as published by  #    it under the terms of the GNU General Public License as published by
# Line 55  Line 55 
55  test -s ERR  test -s ERR
56  diff --strip-trailing-cr exclude-requires-argument.expected.err ERR  diff --strip-trailing-cr exclude-requires-argument.expected.err ERR
57    
58    $VALGRIND jscoverage --encoding > OUT 2> ERR && exit 1
59    test ! -s OUT
60    test -s ERR
61    diff --strip-trailing-cr encoding-requires-argument.expected.err ERR
62    
63  # first arg does not exist  # first arg does not exist
64  rm -f foo  rm -f foo
65  $VALGRIND jscoverage foo bar > OUT 2> ERR && exit 1  $VALGRIND jscoverage foo bar > OUT 2> ERR && exit 1

Legend:
Removed from v.2  
changed lines
  Added in v.226

  ViewVC Help
Powered by ViewVC 1.1.24