--- parser3/tests/264.html 2010/11/15 23:30:31 1.1 +++ parser3/tests/264.html 2017/12/07 22:32:26 1.3 @@ -11,5 +11,12 @@ $s[ ^apply-taint[html;$s] ^apply-taint[regex;$s] -$f[^file::exec[cat.sh; $.stdin[$s] ;stdin]] +$f[^file::exec[cat^os[-windows].sh; $.stdin[$s] ;stdin]] $f.text + +code coverage tests: + +2. ^try-catch{ ^file::exec[cat^os[-windows].sh; $.HTTP_OK[value] $.CGI_OK[value] $.REMOTE_ADDR[allowed] $.unsafe_env_name[env_value] ] } +3. ^try-catch{ ^file::exec[text] } +4. ^try-catch{ ^file::exec[cat^os[-windows].sh; $.stdin[ $.hash[] ] ] } +5. ^try-catch{ ^file::exec[cat^os[-windows].sh; ;arg1;^table::create[nameless]{arg2}; $.arg_hash[] ] }