< prev index next >

test/script/nosecurity/JDK-8151291.js

Print this page
rev 1637 : 8151518: relax test requirements to reduce dependency on directory contents

*** 57,68 **** $EXEC("ls") var ls_startwd = $OUT $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') $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') --- 57,68 ---- $EXEC("ls") var ls_startwd = $OUT $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 with $EXEC cd') $ENV.PWD = upwd eq($ENV.PWD, upwd, '$ENV.PWD change had no effect') $EXEC("ls") var ls_epupwd = $OUT ! neq(ls_startwd, ls_epupwd, 'same ls result for startwd and upwd with $ENV.PWD cd')
< prev index next >