Browse Source

This unit test needs a manifest template

Don Porter 6 years ago
parent
commit
9682c9dec1
1 changed files with 22 additions and 0 deletions
  1. 22 0
      LibOS/shim/test/regression/mmap-file.manifest.template

+ 22 - 0
LibOS/shim/test/regression/mmap-file.manifest.template

@@ -0,0 +1,22 @@
+loader.preload = file:../../src/libsysdb.so
+loader.env.LD_LIBRARY_PATH = /lib
+loader.debug_type = none
+loader.syscall_symbol = syscalldb
+
+fs.mount.lib.type = chroot
+fs.mount.lib.path = /lib
+fs.mount.lib.uri = file:../../../../Runtime
+
+fs.mount.bin.type = chroot
+fs.mount.bin.path = /bin
+fs.mount.bin.uri = file:/bin
+
+# allow to bind on port 8000
+net.rules.1 = 127.0.0.1:8000:0.0.0.0:0-65535
+# allow to connect to port 8000
+net.rules.2 = 0.0.0.0:0-65535:127.0.0.1:8000
+
+sgx.trusted_files.ld = file:../../../../Runtime/ld-linux-x86-64.so.2
+sgx.trusted_files.libc = file:../../../../Runtime/libc.so.6
+
+sgx.allowed_files.testfile = file:testfile