Annotation of embedaddon/php/sapi/cgi/tests/005.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: using invalid combinations of cmdline options
                      3: --SKIPIF--
                      4: <?php include "skipif.inc"; ?>
                      5: --FILE--
                      6: <?php
                      7: 
                      8: include "include.inc";
                      9: 
                     10: $php = get_cgi_path();
                     11: reset_env_vars();
                     12: 
                     13: var_dump(`$php -n -a -f 'wrong'`);
                     14: var_dump(`$php -n -f 'wrong' -a`);
                     15: 
                     16: echo "Done\n";
                     17: ?>
                     18: --EXPECTF--    
                     19: string(51) "No input file specified.
                     20: Interactive mode enabled
                     21: 
                     22: "
                     23: string(51) "No input file specified.
                     24: Interactive mode enabled
                     25: 
                     26: "
                     27: Done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>