time_.py: Expected a command Usage: time.py [options] ARGV... time_.py: error: --output option requires an argument hi 0,0.000652 hi 0,0.000565,a,b hi 0,0.000596,0.000582,0.000000,1976 hi 0,0.000601,0.000587,0.000000,1940,a,b 0 0.010706 0 0.020707 0 0.030726 hi 0 0.000596 a b hi 0 0.000640 0.000000 0.000627 1908 a b 0 0.050747 --- 0 0.040772 0 0.050704 Traceback (most recent call last): File "benchmarks/time_.py", line 189, in status = main(sys.argv) File "benchmarks/time_.py", line 174, in main table_out.writerow(more_cells) _csv.Error: need to escape, but no escapechar set Traceback (most recent call last): File "benchmarks/time_.py", line 189, in status = main(sys.argv) File "benchmarks/time_.py", line 174, in main table_out.writerow(more_cells) _csv.Error: need to escape, but no escapechar set Traceback (most recent call last): File "benchmarks/time_.py", line 189, in status = main(sys.argv) File "benchmarks/time_.py", line 174, in main table_out.writerow(more_cells) _csv.Error: need to escape, but no escapechar set 0 0.001648 OK test-bad-tsv-chars c0710d6b4f15dfa88f600b0e6b624077 _tmp/stdout.txt 0,0.000562,c0710d6b4f15dfa88f600b0e6b624077 0,0.000545,0.000531,0.000000,1952,c0710d6b4f15dfa88f600b0e6b624077 bash 0 0.001223 0.000000 0.001196 3324 python 0 0.014449 0.009610 0.004805 10732 /usr/bin/time 1 0 0.00 2108 1 0 0.000607 0.000000 0.000588 2064 time_.py: No arguments allowed with --print-header status elapsed_secs name status elapsed_secs user_secs sys_secs max_rss_KiB name status,elapsed_secs,user_secs,sys_secs,max_rss_KiB,foo,bar +head _tmp/time-test-1 status elapsed_secs user_secs sys_secs max_rss_KiB stdout_md5sum a b +test-time-helper +set +o errexit +local tmp=_tmp/time-helper.txt +local th=_devbuild/bin/time-helper +local 'cmd={ md5sum */*.md; sleep 0.15; exit 42; } > /dev/null' +echo 'will be overwritten' +cat _tmp/time-helper.txt will be overwritten +_devbuild/bin/time-helper time-helper: expected a command to run +assert 1 -ne 0 +test 1 -ne 0 +_devbuild/bin/time-helper /bad time-helper: error executing '/bad' execvp: No such file or directory +assert 1 -eq 1 +test 1 -eq 1 +_devbuild/bin/time-helper -o _tmp/time-helper.txt -d ' ' -x -e -- sh -c '{ md5sum */*.md; sleep 0.15; exit 42; } > /dev/null' +assert 42 -eq 42 +test 42 -eq 42 +cat _tmp/time-helper.txt 42 0.153807+echo +_devbuild/bin/time-helper -o _tmp/time-helper.txt -a -d , -x -e -U -S -M -- sh -c '{ md5sum */*.md; sleep 0.15; exit 42; } > /dev/null' +assert 42 -eq 42 +test 42 -eq 42 +cat _tmp/time-helper.txt 42 0.15380742,0.153762,0.002270,0.001485,2260+echo +_devbuild/bin/time-helper -z _devbuild/bin/time-helper: invalid option -- 'z' +assert 2 -eq 2 +test 2 -eq 2 +echo +echo 'All tests in benchmarks/time-test.sh passed.' All tests in benchmarks/time-test.sh passed.