{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/ncopa/su-exec/pulls/5","id":77367403,"html_url":"https://github.com/ncopa/su-exec/pull/5","diff_url":"https://github.com/ncopa/su-exec/pull/5.diff","patch_url":"https://github.com/ncopa/su-exec/pull/5.patch","issue_url":"https://api.github.com/repos/ncopa/su-exec/issues/5","number":5,"state":"open","locked":false,"title":"Copy over the tests from gosu","user":{"login":"JayH5","id":1748643,"avatar_url":"https://avatars.githubusercontent.com/u/1748643?v=3","gravatar_id":"","url":"https://api.github.com/users/JayH5","html_url":"https://github.com/JayH5","followers_url":"https://api.github.com/users/JayH5/followers","following_url":"https://api.github.com/users/JayH5/following{/other_user}","gists_url":"https://api.github.com/users/JayH5/gists{/gist_id}","starred_url":"https://api.github.com/users/JayH5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JayH5/subscriptions","organizations_url":"https://api.github.com/users/JayH5/orgs","repos_url":"https://api.github.com/users/JayH5/repos","events_url":"https://api.github.com/users/JayH5/events{/privacy}","received_events_url":"https://api.github.com/users/JayH5/received_events","type":"User","site_admin":false},"body":"I've done 2 things here:\r\n 1. Completely copy `test.sh` and `Dockerfile.test` from gosu and swap \"gosu\" for \"su-exec\" everywhere in the files.\r\n 2. Tried to integrate the tests with the Makefile. This involved adding a step to build a Docker image that can produce `su-exec` binaries compatible with the test container.\r\n\r\nThere's a Travis file to run all of this.","created_at":"2016-07-13T21:46:23Z","updated_at":"2016-07-13T21:46:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ncopa/su-exec/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ncopa/su-exec/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ncopa/su-exec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ncopa/su-exec/issues/5/comments","statuses_url":"https://api.github.com/repos/ncopa/su-exec/statuses/5b40dd0d35d41c29cc0cb3c3159292b33365e988","head":{"label":"JayH5:gosu-tests","ref":"gosu-tests","sha":"5b40dd0d35d41c29cc0cb3c3159292b33365e988","user":{"login":"JayH5","id":1748643,"avatar_url":"https://avatars.githubusercontent.com/u/1748643?v=3","gravatar_id":"","url":"https://api.github.com/users/JayH5","html_url":"https://github.com/JayH5","followers_url":"https://api.github.com/users/JayH5/followers","following_url":"https://api.github.com/users/JayH5/following{/other_user}","gists_url":"https://api.github.com/users/JayH5/gists{/gist_id}","starred_url":"https://api.github.com/users/JayH5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JayH5/subscriptions","organizations_url":"https://api.github.com/users/JayH5/orgs","repos_url":"https://api.github.com/users/JayH5/repos","events_url":"https://api.github.com/users/JayH5/events{/privacy}","received_events_url":"https://api.github.com/users/JayH5/received_events","type":"User","site_admin":false},"repo":{"id":63266704,"name":"su-exec","full_name":"JayH5/su-exec","owner":{"login":"JayH5","id":1748643,"avatar_url":"https://avatars.githubusercontent.com/u/1748643?v=3","gravatar_id":"","url":"https://api.github.com/users/JayH5","html_url":"https://github.com/JayH5","followers_url":"https://api.github.com/users/JayH5/followers","following_url":"https://api.github.com/users/JayH5/following{/other_user}","gists_url":"https://api.github.com/users/JayH5/gists{/gist_id}","starred_url":"https://api.github.com/users/JayH5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JayH5/subscriptions","organizations_url":"https://api.github.com/users/JayH5/orgs","repos_url":"https://api.github.com/users/JayH5/repos","events_url":"https://api.github.com/users/JayH5/events{/privacy}","received_events_url":"https://api.github.com/users/JayH5/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JayH5/su-exec","description":"switch user and group id and exec","fork":true,"url":"https://api.github.com/repos/JayH5/su-exec","forks_url":"https://api.github.com/repos/JayH5/su-exec/forks","keys_url":"https://api.github.com/repos/JayH5/su-exec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JayH5/su-exec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JayH5/su-exec/teams","hooks_url":"https://api.github.com/repos/JayH5/su-exec/hooks","issue_events_url":"https://api.github.com/repos/JayH5/su-exec/issues/events{/number}","events_url":"https://api.github.com/repos/JayH5/su-exec/events","assignees_url":"https://api.github.com/repos/JayH5/su-exec/assignees{/user}","branches_url":"https://api.github.com/repos/JayH5/su-exec/branches{/branch}","tags_url":"https://api.github.com/repos/JayH5/su-exec/tags","blobs_url":"https://api.github.com/repos/JayH5/su-exec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JayH5/su-exec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JayH5/su-exec/git/refs{/sha}","trees_url":"https://api.github.com/repos/JayH5/su-exec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JayH5/su-exec/statuses/{sha}","languages_url":"https://api.github.com/repos/JayH5/su-exec/languages","stargazers_url":"https://api.github.com/repos/JayH5/su-exec/stargazers","contributors_url":"https://api.github.com/repos/JayH5/su-exec/contributors","subscribers_url":"https://api.github.com/repos/JayH5/su-exec/subscribers","subscription_url":"https://api.github.com/repos/JayH5/su-exec/subscription","commits_url":"https://api.github.com/repos/JayH5/su-exec/commits{/sha}","git_commits_url":"https://api.github.com/repos/JayH5/su-exec/git/commits{/sha}","comments_url":"https://api.github.com/repos/JayH5/su-exec/comments{/number}","issue_comment_url":"https://api.github.com/repos/JayH5/su-exec/issues/comments{/number}","contents_url":"https://api.github.com/repos/JayH5/su-exec/contents/{+path}","compare_url":"https://api.github.com/repos/JayH5/su-exec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JayH5/su-exec/merges","archive_url":"https://api.github.com/repos/JayH5/su-exec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JayH5/su-exec/downloads","issues_url":"https://api.github.com/repos/JayH5/su-exec/issues{/number}","pulls_url":"https://api.github.com/repos/JayH5/su-exec/pulls{/number}","milestones_url":"https://api.github.com/repos/JayH5/su-exec/milestones{/number}","notifications_url":"https://api.github.com/repos/JayH5/su-exec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JayH5/su-exec/labels{/name}","releases_url":"https://api.github.com/repos/JayH5/su-exec/releases{/id}","deployments_url":"https://api.github.com/repos/JayH5/su-exec/deployments","created_at":"2016-07-13T17:37:32Z","updated_at":"2016-07-13T17:37:32Z","pushed_at":"2016-07-13T21:27:33Z","git_url":"git://github.com/JayH5/su-exec.git","ssh_url":"git@github.com:JayH5/su-exec.git","clone_url":"https://github.com/JayH5/su-exec.git","svn_url":"https://github.com/JayH5/su-exec","homepage":"","size":7,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ncopa:master","ref":"master","sha":"f85e5bde1afef399021fbc2a99c837cf851ceafa","user":{"login":"ncopa","id":66357,"avatar_url":"https://avatars.githubusercontent.com/u/66357?v=3","gravatar_id":"","url":"https://api.github.com/users/ncopa","html_url":"https://github.com/ncopa","followers_url":"https://api.github.com/users/ncopa/followers","following_url":"https://api.github.com/users/ncopa/following{/other_user}","gists_url":"https://api.github.com/users/ncopa/gists{/gist_id}","starred_url":"https://api.github.com/users/ncopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncopa/subscriptions","organizations_url":"https://api.github.com/users/ncopa/orgs","repos_url":"https://api.github.com/users/ncopa/repos","events_url":"https://api.github.com/users/ncopa/events{/privacy}","received_events_url":"https://api.github.com/users/ncopa/received_events","type":"User","site_admin":false},"repo":{"id":47607657,"name":"su-exec","full_name":"ncopa/su-exec","owner":{"login":"ncopa","id":66357,"avatar_url":"https://avatars.githubusercontent.com/u/66357?v=3","gravatar_id":"","url":"https://api.github.com/users/ncopa","html_url":"https://github.com/ncopa","followers_url":"https://api.github.com/users/ncopa/followers","following_url":"https://api.github.com/users/ncopa/following{/other_user}","gists_url":"https://api.github.com/users/ncopa/gists{/gist_id}","starred_url":"https://api.github.com/users/ncopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncopa/subscriptions","organizations_url":"https://api.github.com/users/ncopa/orgs","repos_url":"https://api.github.com/users/ncopa/repos","events_url":"https://api.github.com/users/ncopa/events{/privacy}","received_events_url":"https://api.github.com/users/ncopa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ncopa/su-exec","description":"switch user and group id and exec","fork":false,"url":"https://api.github.com/repos/ncopa/su-exec","forks_url":"https://api.github.com/repos/ncopa/su-exec/forks","keys_url":"https://api.github.com/repos/ncopa/su-exec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ncopa/su-exec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ncopa/su-exec/teams","hooks_url":"https://api.github.com/repos/ncopa/su-exec/hooks","issue_events_url":"https://api.github.com/repos/ncopa/su-exec/issues/events{/number}","events_url":"https://api.github.com/repos/ncopa/su-exec/events","assignees_url":"https://api.github.com/repos/ncopa/su-exec/assignees{/user}","branches_url":"https://api.github.com/repos/ncopa/su-exec/branches{/branch}","tags_url":"https://api.github.com/repos/ncopa/su-exec/tags","blobs_url":"https://api.github.com/repos/ncopa/su-exec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ncopa/su-exec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ncopa/su-exec/git/refs{/sha}","trees_url":"https://api.github.com/repos/ncopa/su-exec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ncopa/su-exec/statuses/{sha}","languages_url":"https://api.github.com/repos/ncopa/su-exec/languages","stargazers_url":"https://api.github.com/repos/ncopa/su-exec/stargazers","contributors_url":"https://api.github.com/repos/ncopa/su-exec/contributors","subscribers_url":"https://api.github.com/repos/ncopa/su-exec/subscribers","subscription_url":"https://api.github.com/repos/ncopa/su-exec/subscription","commits_url":"https://api.github.com/repos/ncopa/su-exec/commits{/sha}","git_commits_url":"https://api.github.com/repos/ncopa/su-exec/git/commits{/sha}","comments_url":"https://api.github.com/repos/ncopa/su-exec/comments{/number}","issue_comment_url":"https://api.github.com/repos/ncopa/su-exec/issues/comments{/number}","contents_url":"https://api.github.com/repos/ncopa/su-exec/contents/{+path}","compare_url":"https://api.github.com/repos/ncopa/su-exec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ncopa/su-exec/merges","archive_url":"https://api.github.com/repos/ncopa/su-exec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ncopa/su-exec/downloads","issues_url":"https://api.github.com/repos/ncopa/su-exec/issues{/number}","pulls_url":"https://api.github.com/repos/ncopa/su-exec/pulls{/number}","milestones_url":"https://api.github.com/repos/ncopa/su-exec/milestones{/number}","notifications_url":"https://api.github.com/repos/ncopa/su-exec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ncopa/su-exec/labels{/name}","releases_url":"https://api.github.com/repos/ncopa/su-exec/releases{/id}","deployments_url":"https://api.github.com/repos/ncopa/su-exec/deployments","created_at":"2015-12-08T08:02:04Z","updated_at":"2016-07-09T17:35:04Z","pushed_at":"2016-05-13T10:01:04Z","git_url":"git://github.com/ncopa/su-exec.git","ssh_url":"git@github.com:ncopa/su-exec.git","clone_url":"https://github.com/ncopa/su-exec.git","svn_url":"https://github.com/ncopa/su-exec","homepage":"","size":5,"stargazers_count":55,"watchers_count":55,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ncopa/su-exec/pulls/5"},"html":{"href":"https://github.com/ncopa/su-exec/pull/5"},"issue":{"href":"https://api.github.com/repos/ncopa/su-exec/issues/5"},"comments":{"href":"https://api.github.com/repos/ncopa/su-exec/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ncopa/su-exec/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ncopa/su-exec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ncopa/su-exec/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ncopa/su-exec/statuses/5b40dd0d35d41c29cc0cb3c3159292b33365e988"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":122,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"JayH5"}}