changeset 1637:11811302fe75

8151518: relax test requirements to reduce dependency on directory contents Reviewed-by: hannesw, sundar
author mhaupt
date Wed, 09 Mar 2016 15:15:29 +0100
parents f27bb66ac9d3
children c80b4edebdcb
files test/script/nosecurity/JDK-8151291.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/script/nosecurity/JDK-8151291.js	Wed Mar 09 13:24:01 2016 +0100
+++ b/test/script/nosecurity/JDK-8151291.js	Wed Mar 09 15:15:29 2016 +0100
@@ -59,10 +59,10 @@
 $EXEC("cd ..; ls")
 var ls_cdupwd = $OUT
 eq($ENV.PWD, startwd, 'PWD changed during $EXEC cd')
-neq(ls_startwd, ls_cdupwd, 'same ls result for startwd and upwd')
+neq(ls_startwd, ls_cdupwd, 'same ls result for startwd and upwd with $EXEC cd')
 
 $ENV.PWD = upwd
 eq($ENV.PWD, upwd, '$ENV.PWD change had no effect')
 $EXEC("ls")
 var ls_epupwd = $OUT
-eq(ls_cdupwd, ls_epupwd, 'different results for upwd')
+neq(ls_startwd, ls_epupwd, 'same ls result for startwd and upwd with $ENV.PWD cd')