Changeset 1469
- Timestamp:
- 02/08/07 12:00:02 (2 years ago)
- Files:
-
- trunk/compilerbuild.xml (modified) (3 diffs)
- trunk/framework-plugin/src/com/tresys/framework/compiler/Compiler.java (modified) (4 diffs)
- trunk/test/test0001/test.sh (modified) (1 diff)
- trunk/test/test0002/test.sh (modified) (1 diff)
- trunk/test/test0003/test.sh (modified) (1 diff)
- trunk/test/test0004/test.sh (modified) (1 diff)
- trunk/test/test0005/test.sh (modified) (1 diff)
- trunk/test/test0006/test.sh (modified) (1 diff)
- trunk/test/test0007/test.sh (modified) (1 diff)
- trunk/test/test0008/test.fsys (added)
- trunk/test/test0008/test.sh (modified) (1 diff)
- trunk/test/test0009/test.sh (modified) (1 diff)
- trunk/test/test0010/test.sh (modified) (1 diff)
- trunk/test/test0011/test.sh (modified) (1 diff)
- trunk/test/test0012/test.sh (modified) (1 diff)
- trunk/test/test0013/test.sh (modified) (1 diff)
- trunk/test/test0014/test.sh (modified) (1 diff)
- trunk/test/test0015/test.sh (modified) (1 diff)
- trunk/test/test0016/test.sh (modified) (1 diff)
- trunk/test/test0017/test.sh (modified) (1 diff)
- trunk/test/test0018/test.sh (modified) (1 diff)
- trunk/test/test0019/test.sh (modified) (1 diff)
- trunk/test/test0020/test.sh (modified) (1 diff)
- trunk/test/test0021/test.sh (modified) (1 diff)
- trunk/test/test0022/test.sh (modified) (1 diff)
- trunk/test/test0023/test.sh (modified) (1 diff)
- trunk/test/test0024/test.sh (modified) (1 diff)
- trunk/test/test0025/test.sh (modified) (1 diff)
- trunk/test/test0026/test.sh (modified) (1 diff)
- trunk/test/test0027/test.sh (modified) (1 diff)
- trunk/test/test0028/test.sh (modified) (1 diff)
- trunk/test/test0029/test.sh (modified) (1 diff)
- trunk/test/test0030/test.sh (modified) (1 diff)
- trunk/test/test0031/test.sh (modified) (1 diff)
- trunk/test/test0032/test.sh (modified) (1 diff)
- trunk/test/test0033/test.sh (modified) (1 diff)
- trunk/test/test0034/test.sh (modified) (1 diff)
- trunk/test/test0035/test.sh (modified) (1 diff)
- trunk/test/test0036/test.sh (modified) (1 diff)
- trunk/test/test0037/test.sh (modified) (1 diff)
- trunk/test/test0038/test.sh (modified) (1 diff)
- trunk/test/test0039/test.sh (modified) (1 diff)
- trunk/test/test0040/test.sh (modified) (1 diff)
- trunk/test/test0041/test.fsys (added)
- trunk/test/test0041/test.sh (modified) (1 diff)
- trunk/test/test0042/test.sh (modified) (1 diff)
- trunk/test/test0043/test.sh (modified) (1 diff)
- trunk/test/test0044/test.sh (modified) (1 diff)
- trunk/test/test0045/test.sh (modified) (1 diff)
- trunk/test/test0046/test.sh (modified) (1 diff)
- trunk/test/test0047/test.sh (modified) (1 diff)
- trunk/test/test0048/test.sh (modified) (1 diff)
- trunk/test/test0049/test.sh (modified) (1 diff)
- trunk/test/test0050/test.sh (modified) (1 diff)
- trunk/test/test0051/test.sh (modified) (1 diff)
- trunk/test/test0052/test.sh (modified) (1 diff)
- trunk/test/test0053/test.sh (modified) (1 diff)
- trunk/test/test0054/test.sh (modified) (1 diff)
- trunk/test/test0055/test.sh (modified) (1 diff)
- trunk/test/test0056/test.sh (modified) (1 diff)
- trunk/test/test0057/test.sh (modified) (1 diff)
- trunk/test/test0058/test.sh (modified) (1 diff)
- trunk/test/test0059/test.sh (modified) (1 diff)
- trunk/test/test0060/test.sh (modified) (1 diff)
- trunk/test/test0061/test.sh (modified) (1 diff)
- trunk/test/test0062/test.sh (modified) (1 diff)
- trunk/test/test0063/test.sh (modified) (1 diff)
- trunk/test/test0064/test.sh (modified) (1 diff)
- trunk/test/test0065/test.sh (modified) (1 diff)
- trunk/test/test0066/test.sh (modified) (1 diff)
- trunk/test/test0067/test.sh (modified) (1 diff)
- trunk/test/test0068/test.sh (modified) (1 diff)
- trunk/test/test0069/test.sh (modified) (1 diff)
- trunk/test/test0070/test.sh (modified) (1 diff)
- trunk/test/test0071/test.sh (modified) (1 diff)
- trunk/test/test0072/test.sh (modified) (1 diff)
- trunk/test/test0073/test.sh (modified) (1 diff)
- trunk/test/test0074/test.sh (modified) (1 diff)
- trunk/test/test0075/test.sh (modified) (1 diff)
- trunk/test/test0076/test.sh (modified) (1 diff)
- trunk/test/test0077/test.sh (modified) (1 diff)
- trunk/test/test0078/test.sh (modified) (1 diff)
- trunk/test/test0079/test.sh (modified) (1 diff)
- trunk/testall.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/compilerbuild.xml
r1466 r1469 17 17 <property name="javacc_ext" value=".jj" /> 18 18 19 <property name="svnlocation" value="http://oss.tresys.com/repos/slide/ branches/frameworkchanges/src/com/tresys/slide" />19 <property name="svnlocation" value="http://oss.tresys.com/repos/slide/trunk/slide-plugin/src/com/tresys/slide" /> 20 20 21 21 <!-- dictionary source --> … … 42 42 <property name="pkg_path" value="com/tresys/framework/compiler" /> 43 43 <property name="pkg_name" value="com.tresys.framework.compiler" /> 44 <property name="src" value=" src" />44 <property name="src" value="framework-plugin/src" /> 45 45 <property name="build" value="build"/> 46 46 <property name="testdir" value="test" /> … … 94 94 --> 95 95 96 <!-- DJS - change URL to trunk when changes merged in for SLIDE -->97 96 <exec dir="${utilitybuild}" executable="svn"> 98 97 <arg line="export --force ${svnlocation}/utility/policyxmlparser" /> trunk/framework-plugin/src/com/tresys/framework/compiler/Compiler.java
r1396 r1469 49 49 static String ifFilename = null; 50 50 51 static String libPath = System.getProperty("user.dir") + "/libselinuxjava/libselinuxjava.so"; 52 51 53 // verbose output and warning default values 52 54 static boolean debug = false; 53 54 static {55 System.load(System.getProperty("user.dir")56 + "/libselinuxjava/libselinuxjava.so");57 }58 55 59 56 private static void getOpt(String[] args) { … … 128 125 if(x < args.length) { 129 126 fcOutputFilename = args[x]; 127 } else { 128 printUsage(); 129 System.exit(1); 130 } 131 } else if (args[x].equals("-lib")) { 132 x++; 133 if (x < args.length) { 134 libPath = args[x]; 130 135 } else { 131 136 printUsage(); … … 226 231 .println(" -if <interface file> specify interface file for linkage to reference policy and exposing an external API (defaults to stdout if not specified)"); 227 232 System.out.println("\nA dictionary file must be specified."); 233 System.out.println (" -lib <libselinuxjava.so> specify path to libselinuxjava.so library to be loaded"); 228 234 229 235 } … … 249 255 getOpt(args); 250 256 257 // load libselinuxjava.so 258 if (debug) 259 System.out.println ("path for libselinuxjava: " + libPath); 260 System.load(libPath); 261 251 262 // set the debug & warn states appropriately 252 263 com.tresys.framework.compiler.Utility.SetDebug(debug); trunk/test/test0001/test.sh
r1310 r1469 7 7 RESULT=0 8 8 9 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 10 9 11 #run the compiler test 10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err12 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 11 13 12 14 #check compiler error result trunk/test/test0002/test.sh
r1310 r1469 4 4 5 5 RESULT=0 6 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 6 7 7 8 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err9 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 10 10 11 #check compiler error result trunk/test/test0003/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0004/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0005/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0006/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0007/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0008/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0009/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0010/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0011/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0012/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0013/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0014/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0015/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0016/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0017/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0018/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0019/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0020/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0021/test.sh
r1310 r1469 4 4 5 5 RESULT=0 6 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 6 7 7 8 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err9 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 10 10 11 #check compiler error result trunk/test/test0022/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0023/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0024/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0025/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0026/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0027/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0028/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0029/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0030/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0031/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0032/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0033/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0034/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0035/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0036/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0037/test.sh
r1310 r1469 5 5 RESULT=0 6 6 7 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 8 7 9 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err10 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 11 10 12 #check compiler error result trunk/test/test0038/test.sh
r1310 r1469 4 4 5 5 RESULT=0 6 # LIBSELINUX needs to be passed in as the full path to libselinuxjava.so 6 7 7 8 #run the compiler test 8 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if> $DIR/test.out 2> $DIR/test.err9 java -cp build com.tresys.framework.compiler.Compiler -fc $DIR/file_contexts -pc test/basepolicy/ -ds framework-plugin/resources/dictionary/dictionary.fdic -p $DIR/test.fpol -s $DIR/test.fsys -po $DIR/test.te -sf $DIR/test.fc -if $DIR/test.if -lib $LIBSELINUX > $DIR/test.out 2> $DIR/test.err 9 10 10 11 #check compiler error result trunk/test/test0039/test.sh
r1310 r1469 5 5 RESULT=0 6 6
