{"action":"opened","issue":{"url":"https://api.github.com/repos/Cyan4973/lz4/issues/199","repository_url":"https://api.github.com/repos/Cyan4973/lz4","labels_url":"https://api.github.com/repos/Cyan4973/lz4/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/Cyan4973/lz4/issues/199/comments","events_url":"https://api.github.com/repos/Cyan4973/lz4/issues/199/events","html_url":"https://github.com/Cyan4973/lz4/issues/199","id":148253308,"number":199,"title":"lz4 -t always succeeds on any file","user":{"login":"nrgiii","id":4521934,"avatar_url":"https://avatars.githubusercontent.com/u/4521934?v=3","gravatar_id":"","url":"https://api.github.com/users/nrgiii","html_url":"https://github.com/nrgiii","followers_url":"https://api.github.com/users/nrgiii/followers","following_url":"https://api.github.com/users/nrgiii/following{/other_user}","gists_url":"https://api.github.com/users/nrgiii/gists{/gist_id}","starred_url":"https://api.github.com/users/nrgiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrgiii/subscriptions","organizations_url":"https://api.github.com/users/nrgiii/orgs","repos_url":"https://api.github.com/users/nrgiii/repos","events_url":"https://api.github.com/users/nrgiii/events{/privacy}","received_events_url":"https://api.github.com/users/nrgiii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-14T05:05:10Z","updated_at":"2016-04-14T05:05:10Z","closed_at":null,"body":"Running lz4 -t on any readable file reports success and exits with status 0.  This is unexpected.  I think lz4 should complain if it is passed a file that is not in lz4 format.  The -t option is supposed to \"test compressed file integrity\" per the help screen, however it does no such test AFAIKT.\r\n\r\nnormg@bunk>lz4 -t /usr/bin/ssh\r\nSuccessfully decoded 429936 bytes\r\nnormg@bunk>ls -l /usr/bin/ssh\r\n-rwxr-xr-x 1 root root 429936 Aug 17  2015 /usr/bin/ssh\r\n\r\nNorm Green"}}