{"action":"closed","issue":{"url":"https://api.github.com/repos/wanduow/amplet2/issues/2","repository_url":"https://api.github.com/repos/wanduow/amplet2","labels_url":"https://api.github.com/repos/wanduow/amplet2/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/wanduow/amplet2/issues/2/comments","events_url":"https://api.github.com/repos/wanduow/amplet2/issues/2/events","html_url":"https://github.com/wanduow/amplet2/issues/2","id":203004638,"node_id":"MDU6SXNzdWUyMDMwMDQ2Mzg=","number":2,"title":"amp-<test> with error exits with exit code 0 ","user":{"login":"zafnz","id":12840566,"node_id":"MDQ6VXNlcjEyODQwNTY2","avatar_url":"https://avatars0.githubusercontent.com/u/12840566?v=4","gravatar_id":"","url":"https://api.github.com/users/zafnz","html_url":"https://github.com/zafnz","followers_url":"https://api.github.com/users/zafnz/followers","following_url":"https://api.github.com/users/zafnz/following{/other_user}","gists_url":"https://api.github.com/users/zafnz/gists{/gist_id}","starred_url":"https://api.github.com/users/zafnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zafnz/subscriptions","organizations_url":"https://api.github.com/users/zafnz/orgs","repos_url":"https://api.github.com/users/zafnz/repos","events_url":"https://api.github.com/users/zafnz/events{/privacy}","received_events_url":"https://api.github.com/users/zafnz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-25T03:37:40Z","updated_at":"2018-09-04T23:27:39Z","closed_at":"2018-09-04T23:27:39Z","author_association":"CONTRIBUTOR","body":"When running an amp-<test> (eg amp-icmp), and you specify something bad so it won't run (eg wrong command line, bad hostname, etc. The exit code is 0\r\n\r\nThis may be \"expected\" behaviour.\r\n\r\nExpected:\r\n```\r\nroot@tut5:~# amp-http oops\r\nUsage: amp-http [-cdhkpvx] -u <url> [-m max-con]\r\n                [-o max-persistent] [-r max-pipelined-requests]\r\n                [-s max-con-per-server] [-S sslversion]\r\n                [-z pipe-size] [-Q codepoint]\r\n...<snip>...\r\nroot@tut5:~# echo $?\r\n1\r\nroot@tut5:~#\r\n\r\n```\r\nActual result:\r\n```\r\nroot@tut5:~# amp-http oops\r\nUsage: amp-http [-cdhkpvx] -u <url> [-m max-con]\r\n                [-o max-persistent] [-r max-pipelined-requests]\r\n                [-s max-con-per-server] [-S sslversion]\r\n                [-z pipe-size] [-Q codepoint]\r\n...<snip>...\r\nroot@tut5:~# echo $?\r\n0\r\nroot@tut5:~#\r\n```\r\n\r\n"}}
{"actor":{"display_login":"brendonj"}}