{"action":"created","comment":{"url":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/comments/96257386","pull_request_review_id":16834434,"id":96257386,"diff_hunk":"@@ -0,0 +1,42 @@\n+#!/usr/bin/env bats\n+# *-*- Mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil -*-*\n+\n+#  This file is part of cc-oci-runtime.\n+#\n+#  Copyright (C) 2016 Intel Corporation\n+#\n+#  This program is free software; you can redistribute it and/or\n+#  modify it under the terms of the GNU General Public License\n+#  as published by the Free Software Foundation; either version 2\n+#  of the License, or (at your option) any later version.\n+#\n+#  This program is distributed in the hope that it will be useful,\n+#  but WITHOUT ANY WARRANTY; without even the implied warranty of\n+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+#  GNU General Public License for more details.\n+#\n+#  You should have received a copy of the GNU General Public License\n+#  along with this program; if not, write to the Free Software\n+#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n+\n+#Based on docker commands\n+\n+SRC=\"${BATS_TEST_DIRNAME}/../../lib/\"\n+\n+setup() {\n+\tsource $SRC/test-common.bash\n+\tclean_docker_ps\n+\truntime_docker\n+}\n+\n+@test \"Check mounted files at /etc after a docker cp\" {\n+\tskip \"currently this test is not working (see https://github.com/01org/cc-oci-runtime/issues/325)\"\n+\tcontent=\"test\"\n+\ttestfile=$(mktemp --tmpdir=\"$BATS_TMPDIR\" --suffix=-cor-test)\n+\t$DOCKER_EXE run --name containertest -d ubuntu bash -c \"sleep 500\"","path":"tests/integration/docker/cp.bats","position":36,"original_position":36,"commit_id":"bd9721ee64659d5ea16c7c99d1d3d9ab780ddd23","original_commit_id":"bd9721ee64659d5ea16c7c99d1d3d9ab780ddd23","user":{"login":"devimc","id":13009432,"avatar_url":"https://avatars.githubusercontent.com/u/13009432?v=3","gravatar_id":"","url":"https://api.github.com/users/devimc","html_url":"https://github.com/devimc","followers_url":"https://api.github.com/users/devimc/followers","following_url":"https://api.github.com/users/devimc/following{/other_user}","gists_url":"https://api.github.com/users/devimc/gists{/gist_id}","starred_url":"https://api.github.com/users/devimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devimc/subscriptions","organizations_url":"https://api.github.com/users/devimc/orgs","repos_url":"https://api.github.com/users/devimc/repos","events_url":"https://api.github.com/users/devimc/events{/privacy}","received_events_url":"https://api.github.com/users/devimc/received_events","type":"User","site_admin":false},"body":"```'-c sleep 500'``` is not needed","created_at":"2017-01-16T15:53:33Z","updated_at":"2017-01-16T15:53:33Z","html_url":"https://github.com/01org/cc-oci-runtime/pull/576#discussion_r96257386","pull_request_url":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/576","_links":{"self":{"href":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/comments/96257386"},"html":{"href":"https://github.com/01org/cc-oci-runtime/pull/576#discussion_r96257386"},"pull_request":{"href":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/576"}}},"pull_request":{"url":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/576","id":101490849,"html_url":"https://github.com/01org/cc-oci-runtime/pull/576","diff_url":"https://github.com/01org/cc-oci-runtime/pull/576.diff","patch_url":"https://github.com/01org/cc-oci-runtime/pull/576.patch","issue_url":"https://api.github.com/repos/01org/cc-oci-runtime/issues/576","number":576,"state":"open","locked":false,"title":"Test: Check that files in /etc are not zeroed out after docker cp","user":{"login":"GabyCT","id":20359065,"avatar_url":"https://avatars.githubusercontent.com/u/20359065?v=3","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Cervantes Tellez, Gabriela <gabriela.cervantes.tellez@intel.com>","created_at":"2017-01-13T18:10:14Z","updated_at":"2017-01-16T15:53:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea98396d6c8fda2d58a5b2e8911a436e4d69d113","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/576/commits","review_comments_url":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/576/comments","review_comment_url":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/01org/cc-oci-runtime/issues/576/comments","statuses_url":"https://api.github.com/repos/01org/cc-oci-runtime/statuses/bd9721ee64659d5ea16c7c99d1d3d9ab780ddd23","head":{"label":"GabyCT:topic/dockercp","ref":"topic/dockercp","sha":"bd9721ee64659d5ea16c7c99d1d3d9ab780ddd23","user":{"login":"GabyCT","id":20359065,"avatar_url":"https://avatars.githubusercontent.com/u/20359065?v=3","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"repo":{"id":66868394,"name":"cc-oci-runtime","full_name":"GabyCT/cc-oci-runtime","owner":{"login":"GabyCT","id":20359065,"avatar_url":"https://avatars.githubusercontent.com/u/20359065?v=3","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GabyCT/cc-oci-runtime","description":"OCI (Open Containers Initiative) compatible runtime for Intel® Architecture","fork":true,"url":"https://api.github.com/repos/GabyCT/cc-oci-runtime","forks_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/forks","keys_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/teams","hooks_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/hooks","issue_events_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/issues/events{/number}","events_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/events","assignees_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/assignees{/user}","branches_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/branches{/branch}","tags_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/tags","blobs_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/languages","stargazers_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/stargazers","contributors_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/contributors","subscribers_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/subscribers","subscription_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/subscription","commits_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/contents/{+path}","compare_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/merges","archive_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/downloads","issues_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/issues{/number}","pulls_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/labels{/name}","releases_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/releases{/id}","deployments_url":"https://api.github.com/repos/GabyCT/cc-oci-runtime/deployments","created_at":"2016-08-29T18:13:28Z","updated_at":"2016-08-29T18:13:29Z","pushed_at":"2017-01-16T15:49:13Z","git_url":"git://github.com/GabyCT/cc-oci-runtime.git","ssh_url":"git@github.com:GabyCT/cc-oci-runtime.git","clone_url":"https://github.com/GabyCT/cc-oci-runtime.git","svn_url":"https://github.com/GabyCT/cc-oci-runtime","homepage":"","size":1832,"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":"01org:master","ref":"master","sha":"fe460b9f545ec9eb795b245977c39d3b50d74234","user":{"login":"01org","id":1635439,"avatar_url":"https://avatars.githubusercontent.com/u/1635439?v=3","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"repo":{"id":62701840,"name":"cc-oci-runtime","full_name":"01org/cc-oci-runtime","owner":{"login":"01org","id":1635439,"avatar_url":"https://avatars.githubusercontent.com/u/1635439?v=3","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/01org/cc-oci-runtime","description":"OCI (Open Containers Initiative) compatible runtime for Intel® Architecture","fork":false,"url":"https://api.github.com/repos/01org/cc-oci-runtime","forks_url":"https://api.github.com/repos/01org/cc-oci-runtime/forks","keys_url":"https://api.github.com/repos/01org/cc-oci-runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/01org/cc-oci-runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/01org/cc-oci-runtime/teams","hooks_url":"https://api.github.com/repos/01org/cc-oci-runtime/hooks","issue_events_url":"https://api.github.com/repos/01org/cc-oci-runtime/issues/events{/number}","events_url":"https://api.github.com/repos/01org/cc-oci-runtime/events","assignees_url":"https://api.github.com/repos/01org/cc-oci-runtime/assignees{/user}","branches_url":"https://api.github.com/repos/01org/cc-oci-runtime/branches{/branch}","tags_url":"https://api.github.com/repos/01org/cc-oci-runtime/tags","blobs_url":"https://api.github.com/repos/01org/cc-oci-runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/01org/cc-oci-runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/01org/cc-oci-runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/01org/cc-oci-runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/01org/cc-oci-runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/01org/cc-oci-runtime/languages","stargazers_url":"https://api.github.com/repos/01org/cc-oci-runtime/stargazers","contributors_url":"https://api.github.com/repos/01org/cc-oci-runtime/contributors","subscribers_url":"https://api.github.com/repos/01org/cc-oci-runtime/subscribers","subscription_url":"https://api.github.com/repos/01org/cc-oci-runtime/subscription","commits_url":"https://api.github.com/repos/01org/cc-oci-runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/01org/cc-oci-runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/01org/cc-oci-runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/01org/cc-oci-runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/01org/cc-oci-runtime/contents/{+path}","compare_url":"https://api.github.com/repos/01org/cc-oci-runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/01org/cc-oci-runtime/merges","archive_url":"https://api.github.com/repos/01org/cc-oci-runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/01org/cc-oci-runtime/downloads","issues_url":"https://api.github.com/repos/01org/cc-oci-runtime/issues{/number}","pulls_url":"https://api.github.com/repos/01org/cc-oci-runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/01org/cc-oci-runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/01org/cc-oci-runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/01org/cc-oci-runtime/labels{/name}","releases_url":"https://api.github.com/repos/01org/cc-oci-runtime/releases{/id}","deployments_url":"https://api.github.com/repos/01org/cc-oci-runtime/deployments","created_at":"2016-07-06T07:48:26Z","updated_at":"2017-01-14T23:25:33Z","pushed_at":"2017-01-16T15:49:14Z","git_url":"git://github.com/01org/cc-oci-runtime.git","ssh_url":"git@github.com:01org/cc-oci-runtime.git","clone_url":"https://github.com/01org/cc-oci-runtime.git","svn_url":"https://github.com/01org/cc-oci-runtime","homepage":"","size":1901,"stargazers_count":35,"watchers_count":35,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":126,"forks":27,"open_issues":126,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/576"},"html":{"href":"https://github.com/01org/cc-oci-runtime/pull/576"},"issue":{"href":"https://api.github.com/repos/01org/cc-oci-runtime/issues/576"},"comments":{"href":"https://api.github.com/repos/01org/cc-oci-runtime/issues/576/comments"},"review_comments":{"href":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/576/comments"},"review_comment":{"href":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/01org/cc-oci-runtime/pulls/576/commits"},"statuses":{"href":"https://api.github.com/repos/01org/cc-oci-runtime/statuses/bd9721ee64659d5ea16c7c99d1d3d9ab780ddd23"}}}}
{"actor":{"display_login":"devimc"}}