test/nashorn/script/README
author lkorinth
Wed, 21 Mar 2018 10:35:13 +0100
changeset 49471 bed9f0842578
parent 47216 71c04702a3d5
permissions -rw-r--r--
8196337: Add commit methods that take all event properties as argument Reviewed-by: ehelin, mgronlun
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.