01: /*
02: * ExecLotsOutput.java --
03: *
04: * jacl/tests/exec/ExecLotsOutput.java
05: *
06: * Test exec implementation for a process that writes lots of
07: * data to both stdout and stderr.
08: *
09: * Copyright (c) 1998 by Moses DeJong
10: *
11: * See the file "license.terms" for information on usage and redistribution
12: * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
13: *
14: * RCS: @(#) $Id: ExecLotsOutput.java,v 1.1 2006/04/05 23:03:39 mdejong Exp $
15: *
16: */
17:
18: package tests.exec;
19:
20: public class ExecLotsOutput {
21: public static void main(String[] argv) {
22: for (int i = 0; i < 1000; i++) {
23: System.out.print("OOO");
24: System.err.print("EEE");
25: }
26: System.exit(0);
27: }
28: }
|