/[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 370 by siliconforks, Mon Oct 27 20:34:27 2008 UTC revision 505 by siliconforks, Sat Jan 2 04:55:54 2010 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, 2008 siliconforks.com  #    Copyright (C) 2007, 2008, 2009, 2010 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 101  Line 101 
101  # diff --strip-trailing-cr destination-is-existing-directory.expected.err ERR  # diff --strip-trailing-cr destination-is-existing-directory.expected.err ERR
102  rm -fr bar  rm -fr bar
103    
 # huge JavaScript file  
 mkdir -p DIR  
 perl -e 'for (1 .. 65536) {print "x = $_\n";}' > DIR/big.js  
 $VALGRIND jscoverage DIR DIR2 > OUT 2> ERR && exit 1  
 echo 'jscoverage: file big.js contains more than 65,535 lines' | diff --strip-trailing-cr - ERR  
   
104  rm -fr DIR DIR2 OUT ERR  rm -fr DIR DIR2 OUT ERR

Legend:
Removed from v.370  
changed lines
  Added in v.505

  ViewVC Help
Powered by ViewVC 1.1.24