Test: /sapi/cli/tests/cli_process_title_unix.phpt - Version 7.1.33    

There are 17 different diffs reported by users for this test.

Count Diff
7 (25%)
003+ sh: line 1: ps: command not found
004+ ps failed
003- Successfully verified title using ps
004- Successfully verified title using get
6 (21%)
003+ sh: ps: command not found
004+ ps failed
003- Successfully verified title using ps
004- Successfully verified title using get
1 (4%)
003+ usage: tail [+/-[n][lbc][f]] [file]
004+ tail [+/-[n][l][r|f]] [file]
003- Successfully verified title using ps
004- Successfully verified title using get
005+ ps: unknown output format: -o command
006+ usage: ps [ -aAdefHlcjLPyZ ] [ -o format ] [ -t termlist ]
007+ [ -u userlist ] [ -U userlist ] [ -G grouplist ]
008+ [ -p proclist ] [ -g pgrplist ] [ -s sidlist ] [ -z zonelist ] [-h lgrplist]
009+ 'format' is one or more of:
010+ user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid ctid
011+ pri opri pcpu pmem vsz rss rssprivate rssshared osz nice class time etime stime zone zoneid env
012+ f s c lwp nlwp psr tty addr wchan fname comm args projid project pset lgrp
013+ ps failed
1 (4%)
003+ usage: tail [+/-[n][lbc][f]] [file]
004+ tail [+/-[n][l][r|f]] [file]
003- Successfully verified title using ps
004- Successfully verified title using get
005+ ps failed
006+ ps: unknown output format: -o command
007+ usage: ps [ -aAdefHlcjLPyZ ] [ -o format ] [ -t termlist ]
008+ [ -u userlist ] [ -U userlist ] [ -G grouplist ]
009+ [ -p proclist ] [ -g pgrplist ] [ -s sidlist ] [ -z zonelist ] [-h lgrplist]
010+ 'format' is one or more of:
011+ user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid ctid
012+ pri opri pcpu pmem vsz rss rssprivate rssshared osz nice class time etime stime zone zoneid env
013+ f s c lwp nlwp psr tty addr wchan fname comm args projid project pset lgrp
1 (4%)
003+ ps: unrecognized option: p
004+ BusyBox v1.36.1 (2023-07-27 17:12:24 UTC) multi-call binary.
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Usage: ps [-o COL1,COL2=HEADER] [-T]
007+
008+ Show list of processes
009+
010+ -o COL1,COL2=HEADER Select columns for display
011+ -T Show threads
012+ ps failed
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Volumes/Dev/Develop/downloads/php-7.1.33/sapi/cli/php -n -c /Volumes/Dev/Develop/downloads/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Volumes/Dev/Develop/downloads/php-7.1.33/modules/ -d zend_extension=/Volumes/Dev/Develop/downloads/php-7.1.33/modules/opcache.so -d session.auto_start=0 -d mbstring.func_overload=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/v_machao13/Documents/multi-php-version/src/php-7.1.33/sapi/cli/php -n -c /Users/v_machao13/Documents/multi-php-version/src/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/v_machao13/Documents/multi-php-version/src/php-7.1.33/modules/ -d zend_extension=/Users/v_machao13/Documents/multi-php-version/src/php-7.1.33/modules/opcache.so -d session.auto_start=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/syh/Downloads/PHP安装/php-7.1.33/sapi/cli/php -n -c /Users/syh/Downloads/PHP安装/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/syh/Downloads/PHP安装/php-7.1.33/modules/ -d zend_extension=/Users/syh/Downloads/PHP安装/php-7.1.33/modules/opcache.so -d session.auto_start=0 -d zlib.output_compression=Off -d mbstring.func_overload=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/mohammedsekkaf/php-7.1.33/sapi/cli/php -n -c /Users/mohammedsekkaf/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/mohammedsekkaf/php-7.1.33/modules/ -d zend_extension=/Users/mohammedsekkaf/php-7.1.33/modules/opcache.so -d session.auto_start=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/maxlipsky/Downloads/php-7.1.33/sapi/cli/php -n -c /Users/maxlipsky/Downloads/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/maxlipsky/Downloads/php-7.1.33/modules/ -d zend_extension=/Users/maxlipsky/Downloads/php-7.1.33/modules/opcache.so -d session.auto_start=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/liyong/Downloads/php-7.1.33/sapi/cli/php -n -c /Users/liyong/Downloads/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/liyong/Downloads/php-7.1.33/modules/ -d zend_extension=/Users/liyong/Downloads/php-7.1.33/modules/opcache.so -d session.auto_start=0 -d zlib.output_compression=Off -d mbstring.func_overload=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/liqiao/Downloads/php-7.1.33/sapi/cli/php -n -c /Users/liqiao/Downloads/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/liqiao/Downloads/php-7.1.33/modules/ -d extension=mysqli.so -d extension=pdo_mysql.so -d zend_extension=/Users/liqiao/Downloads/php-7.1.33/modules/opcache.so -d session.auto_start=0 -d zlib.output_compression=Off -d mbstring.func_overload=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/hayes/Developer/php-src-php-7.1.33/sapi/cli/php -n -c /Users/hayes/Developer/php-src-php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/hayes/Developer/php-src-php-7.1.33/modules/ -d zend_extension=/Users/hayes/Developer/php-src-php-7.1.33/modules/opcache.so -d session.auto_start=0 -d zlib.output_compression=Off -d mbstring.func_overload=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/gerhard/tmp/php-7.1.33/sapi/cli/php -n -c /Users/gerhard/tmp/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/gerhard/tmp/php-7.1.33/modules/ -d zend_extension=/Users/gerhard/tmp/php-7.1.33/modules/opcache.so -d session.auto_start=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/chen/server/php-7.1.33/sapi/cli/php -n -c /Users/chen/server/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/chen/server/php-7.1.33/modules/ -d zend_extension=/Users/chen/server/php-7.1.33/modules/opcache.so -d session.auto_start=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/administrator/Desktop/php-7.1.33/sapi/cli/php -n -c /Users/administrator/Desktop/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/administrator/Desktop/php-7.1.33/modules/ -d zend_extension=/Users/administrator/Desktop/php-7.1.33/modules/opcache.so -d session.auto_start=0 -d zlib.output_compression=Off -d mbstring.func_overload=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get:
1 (4%)
002+
003+ Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 7
004+ Actually loaded from ps: /Users/KiraXia/Library/Caches/Homebrew/downloads/php-7.1.33/sapi/cli/php -n -c /Users/KiraXia/Library/Caches/Homebrew/downloads/php-7.1.33/tmp-php.ini -d output_handler= -d open_basedir= -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d ignore_repeated_errors=0 -d precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d extension_dir=/Users/KiraXia/Library/Caches/Homebrew/downloads/php-7.1.33/modules/ -d zend_extension=/Users/KiraXia/Library/Caches/Homebrew/downloads/php-7.1.33/modules/opcache.so -d session.auto_start=0 -f %s/cli_process_title_unix.php
002- Successfully set title
003- Successfully verified title using ps
004- Successfully verified title using get
005+
006+ Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in %s/cli_process_title_unix.php on line 35
007+ Actually loaded from get: