{"action":"created","comment":{"url":"https://api.github.com/repos/saltstack/salt/pulls/comments/76633153","id":76633153,"diff_hunk":"@@ -77,13 +87,13 @@ def test_run_creates_exists(self):\n         '''\n         test cmd.run creates already there\n         '''\n-        state_key = 'cmd_|-touch {0}_|-touch {0}_|-run'.format(self.test_file)\n-        with salt.utils.fopen(self.state_file, 'w') as fp_:\n-            fp_.write(textwrap.dedent('''\\\n-            touch {0}:\n-              cmd.run:\n-                - creates: {0}\n-            '''.format(self.test_file)))\n+        state_key = 'cmd_|-echo >> {0}_|-echo >> {0}_|-run'.format(self.test_file)\n+        with salt.utils.fopen(self.state_file, 'w') as fb_:\n+            fb_.write(textwrap.dedent('''\n+                echo >> {0}:","path":"tests/integration/states/cmd.py","position":77,"original_position":77,"commit_id":"1b85aa82a396d04dba88b7f31f3c48f582b5a234","original_commit_id":"1b85aa82a396d04dba88b7f31f3c48f582b5a234","user":{"login":"twangboy","id":9383935,"avatar_url":"https://avatars.githubusercontent.com/u/9383935?v=3","gravatar_id":"","url":"https://api.github.com/users/twangboy","html_url":"https://github.com/twangboy","followers_url":"https://api.github.com/users/twangboy/followers","following_url":"https://api.github.com/users/twangboy/following{/other_user}","gists_url":"https://api.github.com/users/twangboy/gists{/gist_id}","starred_url":"https://api.github.com/users/twangboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twangboy/subscriptions","organizations_url":"https://api.github.com/users/twangboy/orgs","repos_url":"https://api.github.com/users/twangboy/repos","events_url":"https://api.github.com/users/twangboy/events{/privacy}","received_events_url":"https://api.github.com/users/twangboy/received_events","type":"User","site_admin":false},"body":"Yes. But there is no touch in Windows.","created_at":"2016-08-29T15:58:03Z","updated_at":"2016-08-29T15:58:03Z","html_url":"https://github.com/saltstack/salt/pull/35180#discussion_r76633153","pull_request_url":"https://api.github.com/repos/saltstack/salt/pulls/35180","_links":{"self":{"href":"https://api.github.com/repos/saltstack/salt/pulls/comments/76633153"},"html":{"href":"https://github.com/saltstack/salt/pull/35180#discussion_r76633153"},"pull_request":{"href":"https://api.github.com/repos/saltstack/salt/pulls/35180"}}},"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/35180","id":79960159,"html_url":"https://github.com/saltstack/salt/pull/35180","diff_url":"https://github.com/saltstack/salt/pull/35180.diff","patch_url":"https://github.com/saltstack/salt/pull/35180.patch","issue_url":"https://api.github.com/repos/saltstack/salt/issues/35180","number":35180,"state":"open","locked":false,"title":"Fix integration tests for cmd state on Windows","user":{"login":"twangboy","id":9383935,"avatar_url":"https://avatars.githubusercontent.com/u/9383935?v=3","gravatar_id":"","url":"https://api.github.com/users/twangboy","html_url":"https://github.com/twangboy","followers_url":"https://api.github.com/users/twangboy/followers","following_url":"https://api.github.com/users/twangboy/following{/other_user}","gists_url":"https://api.github.com/users/twangboy/gists{/gist_id}","starred_url":"https://api.github.com/users/twangboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twangboy/subscriptions","organizations_url":"https://api.github.com/users/twangboy/orgs","repos_url":"https://api.github.com/users/twangboy/repos","events_url":"https://api.github.com/users/twangboy/events{/privacy}","received_events_url":"https://api.github.com/users/twangboy/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\nFix integration tests for the cmd state on Windows.\r\n\r\nhttps://github.com/saltstack/zh/issues/853","created_at":"2016-08-03T19:00:34Z","updated_at":"2016-08-29T15:58:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52d0b3fa0beb5aa623556276d9fcfbe8b4849abd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/saltstack/salt/pulls/35180/commits","review_comments_url":"https://api.github.com/repos/saltstack/salt/pulls/35180/comments","review_comment_url":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/35180/comments","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/1b85aa82a396d04dba88b7f31f3c48f582b5a234","head":{"label":"twangboy:int_states_cmd","ref":"int_states_cmd","sha":"1b85aa82a396d04dba88b7f31f3c48f582b5a234","user":{"login":"twangboy","id":9383935,"avatar_url":"https://avatars.githubusercontent.com/u/9383935?v=3","gravatar_id":"","url":"https://api.github.com/users/twangboy","html_url":"https://github.com/twangboy","followers_url":"https://api.github.com/users/twangboy/followers","following_url":"https://api.github.com/users/twangboy/following{/other_user}","gists_url":"https://api.github.com/users/twangboy/gists{/gist_id}","starred_url":"https://api.github.com/users/twangboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twangboy/subscriptions","organizations_url":"https://api.github.com/users/twangboy/orgs","repos_url":"https://api.github.com/users/twangboy/repos","events_url":"https://api.github.com/users/twangboy/events{/privacy}","received_events_url":"https://api.github.com/users/twangboy/received_events","type":"User","site_admin":false},"repo":{"id":52046096,"name":"salt","full_name":"twangboy/salt","owner":{"login":"twangboy","id":9383935,"avatar_url":"https://avatars.githubusercontent.com/u/9383935?v=3","gravatar_id":"","url":"https://api.github.com/users/twangboy","html_url":"https://github.com/twangboy","followers_url":"https://api.github.com/users/twangboy/followers","following_url":"https://api.github.com/users/twangboy/following{/other_user}","gists_url":"https://api.github.com/users/twangboy/gists{/gist_id}","starred_url":"https://api.github.com/users/twangboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twangboy/subscriptions","organizations_url":"https://api.github.com/users/twangboy/orgs","repos_url":"https://api.github.com/users/twangboy/repos","events_url":"https://api.github.com/users/twangboy/events{/privacy}","received_events_url":"https://api.github.com/users/twangboy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/twangboy/salt","description":"Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt Open software package repository here: ","fork":true,"url":"https://api.github.com/repos/twangboy/salt","forks_url":"https://api.github.com/repos/twangboy/salt/forks","keys_url":"https://api.github.com/repos/twangboy/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twangboy/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twangboy/salt/teams","hooks_url":"https://api.github.com/repos/twangboy/salt/hooks","issue_events_url":"https://api.github.com/repos/twangboy/salt/issues/events{/number}","events_url":"https://api.github.com/repos/twangboy/salt/events","assignees_url":"https://api.github.com/repos/twangboy/salt/assignees{/user}","branches_url":"https://api.github.com/repos/twangboy/salt/branches{/branch}","tags_url":"https://api.github.com/repos/twangboy/salt/tags","blobs_url":"https://api.github.com/repos/twangboy/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twangboy/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twangboy/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/twangboy/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twangboy/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/twangboy/salt/languages","stargazers_url":"https://api.github.com/repos/twangboy/salt/stargazers","contributors_url":"https://api.github.com/repos/twangboy/salt/contributors","subscribers_url":"https://api.github.com/repos/twangboy/salt/subscribers","subscription_url":"https://api.github.com/repos/twangboy/salt/subscription","commits_url":"https://api.github.com/repos/twangboy/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/twangboy/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/twangboy/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/twangboy/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/twangboy/salt/contents/{+path}","compare_url":"https://api.github.com/repos/twangboy/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twangboy/salt/merges","archive_url":"https://api.github.com/repos/twangboy/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twangboy/salt/downloads","issues_url":"https://api.github.com/repos/twangboy/salt/issues{/number}","pulls_url":"https://api.github.com/repos/twangboy/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/twangboy/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/twangboy/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twangboy/salt/labels{/name}","releases_url":"https://api.github.com/repos/twangboy/salt/releases{/id}","deployments_url":"https://api.github.com/repos/twangboy/salt/deployments","created_at":"2016-02-18T23:18:37Z","updated_at":"2016-02-18T23:18:49Z","pushed_at":"2016-08-25T17:19:35Z","git_url":"git://github.com/twangboy/salt.git","ssh_url":"git@github.com:twangboy/salt.git","clone_url":"https://github.com/twangboy/salt.git","svn_url":"https://github.com/twangboy/salt","homepage":"https://repo.saltstack.com/","size":139237,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"base":{"label":"saltstack:develop","ref":"develop","sha":"a7fb5aa09d5dd283b98822254f25d57fbbe3f3e8","user":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"repo":{"id":1390248,"name":"salt","full_name":"saltstack/salt","owner":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/saltstack/salt","description":"Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt Open software package repository here: ","fork":false,"url":"https://api.github.com/repos/saltstack/salt","forks_url":"https://api.github.com/repos/saltstack/salt/forks","keys_url":"https://api.github.com/repos/saltstack/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saltstack/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saltstack/salt/teams","hooks_url":"https://api.github.com/repos/saltstack/salt/hooks","issue_events_url":"https://api.github.com/repos/saltstack/salt/issues/events{/number}","events_url":"https://api.github.com/repos/saltstack/salt/events","assignees_url":"https://api.github.com/repos/saltstack/salt/assignees{/user}","branches_url":"https://api.github.com/repos/saltstack/salt/branches{/branch}","tags_url":"https://api.github.com/repos/saltstack/salt/tags","blobs_url":"https://api.github.com/repos/saltstack/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saltstack/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saltstack/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/saltstack/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/saltstack/salt/languages","stargazers_url":"https://api.github.com/repos/saltstack/salt/stargazers","contributors_url":"https://api.github.com/repos/saltstack/salt/contributors","subscribers_url":"https://api.github.com/repos/saltstack/salt/subscribers","subscription_url":"https://api.github.com/repos/saltstack/salt/subscription","commits_url":"https://api.github.com/repos/saltstack/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/saltstack/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/saltstack/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/saltstack/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/saltstack/salt/contents/{+path}","compare_url":"https://api.github.com/repos/saltstack/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saltstack/salt/merges","archive_url":"https://api.github.com/repos/saltstack/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saltstack/salt/downloads","issues_url":"https://api.github.com/repos/saltstack/salt/issues{/number}","pulls_url":"https://api.github.com/repos/saltstack/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/saltstack/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/saltstack/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saltstack/salt/labels{/name}","releases_url":"https://api.github.com/repos/saltstack/salt/releases{/id}","deployments_url":"https://api.github.com/repos/saltstack/salt/deployments","created_at":"2011-02-20T20:16:56Z","updated_at":"2016-08-29T15:29:46Z","pushed_at":"2016-08-29T15:57:34Z","git_url":"git://github.com/saltstack/salt.git","ssh_url":"git@github.com:saltstack/salt.git","clone_url":"https://github.com/saltstack/salt.git","svn_url":"https://github.com/saltstack/salt","homepage":"https://repo.saltstack.com/","size":214084,"stargazers_count":6825,"watchers_count":6825,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3095,"mirror_url":null,"open_issues_count":3828,"forks":3095,"open_issues":3828,"watchers":6825,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack/salt/pulls/35180"},"html":{"href":"https://github.com/saltstack/salt/pull/35180"},"issue":{"href":"https://api.github.com/repos/saltstack/salt/issues/35180"},"comments":{"href":"https://api.github.com/repos/saltstack/salt/issues/35180/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack/salt/pulls/35180/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saltstack/salt/pulls/35180/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack/salt/statuses/1b85aa82a396d04dba88b7f31f3c48f582b5a234"}}}}
{"actor":{"display_login":"twangboy"}}