nashorn/test/script/README
author jlaskey
Mon, 09 Sep 2013 13:35:35 -0300
changeset 19886 3386a0c77420
parent 16221 38ac51eba133
permissions -rw-r--r--
8024397: Nashorn FX Libraries need to be finalized. Reviewed-by: sundar, hannesw, lagergren Contributed-by: james.laskey@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16221
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     1
basic:
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     2
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     3
"basic" language and library tests. These need run only with File read 
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     4
permission to read files under "test/script" or subdirs and property read
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     5
permission to read properties named "nashorn.test.*"
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     6
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     7
error:
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     8
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     9
scripts that should result in compile-time error. The expected files check
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    10
for the error message format etc.
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    11
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    12
currently-failing: 
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    13
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    14
Tests that fail currently - but should pass eventually.
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    15
These are excluded for now.
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    16
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    17
sandbox:
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    18
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    19
Tests to check that sandbox scripts cannot access security sensitive resources.
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    20
Scripts under this directory run with no special permissions other than
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    21
what is given to all "sandbox" scripts.
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    22
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    23
trusted:
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    24
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    25
These tests run under AllPermission. Put only those scripts that really need
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    26
AllPermission - say for eg. creating class loader, full reflective access.