initial checkin
[org.ibex.nanogoat.git] / upstream / mips / tests / FDTest.java
1 package tests;
2
3 import org.xwt.mips.Runtime;
4
5 public class FDTest {
6     public static void main(String[] args) throws Exception {
7         Runtime rt = new Test();
8         int fd = rt.allocFDEnt(new Runtime.SeekableInputStreamFD(System.in));
9         int status = rt.run(new String[]{"test","fdtest","/dev/fd/" + fd});
10         System.err.println("Exit status: " + status);
11     }
12 }
13
14         
15