{"action":"created","comment":{"url":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/comments/177882708","pull_request_review_id":107841204,"id":177882708,"diff_hunk":"@@ -138,10 +138,28 @@ class Generic322: public BaseTestCase {\n   }\n \n    private:\n-    const string foo_path = mnt_dir_ \"/\" TEST_DIR_A \"/\" TEST_FILE_FOO;\n-    const string bar_path = mnt_dir_ \"/\" TEST_DIR_A \"/\" TEST_FILE_BAR;\n-    const string file_contents = \"some random file contents...\";\n+    string foo_path;\n+    string bar_path;\n+    string expected_md5sum;","path":"code/tests/generic_322.cpp","position":null,"original_position":53,"commit_id":"92207a6953c457b608e67659c3aaa73ae9e86dab","original_commit_id":"92207a6953c457b608e67659c3aaa73ae9e86dab","user":{"login":"jayashreemohan29","id":30441140,"avatar_url":"https://avatars2.githubusercontent.com/u/30441140?v=4","gravatar_id":"","url":"https://api.github.com/users/jayashreemohan29","html_url":"https://github.com/jayashreemohan29","followers_url":"https://api.github.com/users/jayashreemohan29/followers","following_url":"https://api.github.com/users/jayashreemohan29/following{/other_user}","gists_url":"https://api.github.com/users/jayashreemohan29/gists{/gist_id}","starred_url":"https://api.github.com/users/jayashreemohan29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayashreemohan29/subscriptions","organizations_url":"https://api.github.com/users/jayashreemohan29/orgs","repos_url":"https://api.github.com/users/jayashreemohan29/repos","events_url":"https://api.github.com/users/jayashreemohan29/events{/privacy}","received_events_url":"https://api.github.com/users/jayashreemohan29/received_events","type":"User","site_admin":false},"body":"Did this work for you?  run() and check_test are different child processes. You can't populate the value in run and access in check_test if Iam right. You can instead create a dummy_file in setup - do the right set of operations to reflect expected behaviour. Then in check_test compare the md5 hashes of this dummy_file against the file foo being modified in run(). ","created_at":"2018-03-28T20:38:50Z","updated_at":"2018-03-28T20:38:51Z","html_url":"https://github.com/utsaslab/crashmonkey/pull/98#discussion_r177882708","pull_request_url":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/98","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/comments/177882708"},"html":{"href":"https://github.com/utsaslab/crashmonkey/pull/98#discussion_r177882708"},"pull_request":{"href":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/98"}}},"pull_request":{"url":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/98","id":178102437,"html_url":"https://github.com/utsaslab/crashmonkey/pull/98","diff_url":"https://github.com/utsaslab/crashmonkey/pull/98.diff","patch_url":"https://github.com/utsaslab/crashmonkey/pull/98.patch","issue_url":"https://api.github.com/repos/utsaslab/crashmonkey/issues/98","number":98,"state":"open","locked":false,"title":"Porting xfstests to xfsmonkey","user":{"login":"pandian4github","id":2760705,"avatar_url":"https://avatars3.githubusercontent.com/u/2760705?v=4","gravatar_id":"","url":"https://api.github.com/users/pandian4github","html_url":"https://github.com/pandian4github","followers_url":"https://api.github.com/users/pandian4github/followers","following_url":"https://api.github.com/users/pandian4github/following{/other_user}","gists_url":"https://api.github.com/users/pandian4github/gists{/gist_id}","starred_url":"https://api.github.com/users/pandian4github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandian4github/subscriptions","organizations_url":"https://api.github.com/users/pandian4github/orgs","repos_url":"https://api.github.com/users/pandian4github/repos","events_url":"https://api.github.com/users/pandian4github/events{/privacy}","received_events_url":"https://api.github.com/users/pandian4github/received_events","type":"User","site_admin":false},"body":"Ported generic 002 and generic 322 (two sub tests) to xfsmonkey.","created_at":"2018-03-28T16:59:54Z","updated_at":"2018-03-28T20:38:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c0c7af12b50cbb5a36e4fd8e33aa12e035db7c63","assignee":{"login":"pandian4github","id":2760705,"avatar_url":"https://avatars3.githubusercontent.com/u/2760705?v=4","gravatar_id":"","url":"https://api.github.com/users/pandian4github","html_url":"https://github.com/pandian4github","followers_url":"https://api.github.com/users/pandian4github/followers","following_url":"https://api.github.com/users/pandian4github/following{/other_user}","gists_url":"https://api.github.com/users/pandian4github/gists{/gist_id}","starred_url":"https://api.github.com/users/pandian4github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandian4github/subscriptions","organizations_url":"https://api.github.com/users/pandian4github/orgs","repos_url":"https://api.github.com/users/pandian4github/repos","events_url":"https://api.github.com/users/pandian4github/events{/privacy}","received_events_url":"https://api.github.com/users/pandian4github/received_events","type":"User","site_admin":false},"assignees":[{"login":"pandian4github","id":2760705,"avatar_url":"https://avatars3.githubusercontent.com/u/2760705?v=4","gravatar_id":"","url":"https://api.github.com/users/pandian4github","html_url":"https://github.com/pandian4github","followers_url":"https://api.github.com/users/pandian4github/followers","following_url":"https://api.github.com/users/pandian4github/following{/other_user}","gists_url":"https://api.github.com/users/pandian4github/gists{/gist_id}","starred_url":"https://api.github.com/users/pandian4github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandian4github/subscriptions","organizations_url":"https://api.github.com/users/pandian4github/orgs","repos_url":"https://api.github.com/users/pandian4github/repos","events_url":"https://api.github.com/users/pandian4github/events{/privacy}","received_events_url":"https://api.github.com/users/pandian4github/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"SoujanyaPonnapalli","id":8627213,"avatar_url":"https://avatars2.githubusercontent.com/u/8627213?v=4","gravatar_id":"","url":"https://api.github.com/users/SoujanyaPonnapalli","html_url":"https://github.com/SoujanyaPonnapalli","followers_url":"https://api.github.com/users/SoujanyaPonnapalli/followers","following_url":"https://api.github.com/users/SoujanyaPonnapalli/following{/other_user}","gists_url":"https://api.github.com/users/SoujanyaPonnapalli/gists{/gist_id}","starred_url":"https://api.github.com/users/SoujanyaPonnapalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoujanyaPonnapalli/subscriptions","organizations_url":"https://api.github.com/users/SoujanyaPonnapalli/orgs","repos_url":"https://api.github.com/users/SoujanyaPonnapalli/repos","events_url":"https://api.github.com/users/SoujanyaPonnapalli/events{/privacy}","received_events_url":"https://api.github.com/users/SoujanyaPonnapalli/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/98/commits","review_comments_url":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/98/comments","review_comment_url":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/comments{/number}","comments_url":"https://api.github.com/repos/utsaslab/crashmonkey/issues/98/comments","statuses_url":"https://api.github.com/repos/utsaslab/crashmonkey/statuses/92207a6953c457b608e67659c3aaa73ae9e86dab","head":{"label":"utsaslab:pandian-port-xfstests","ref":"pandian-port-xfstests","sha":"92207a6953c457b608e67659c3aaa73ae9e86dab","user":{"login":"utsaslab","id":29800690,"avatar_url":"https://avatars0.githubusercontent.com/u/29800690?v=4","gravatar_id":"","url":"https://api.github.com/users/utsaslab","html_url":"https://github.com/utsaslab","followers_url":"https://api.github.com/users/utsaslab/followers","following_url":"https://api.github.com/users/utsaslab/following{/other_user}","gists_url":"https://api.github.com/users/utsaslab/gists{/gist_id}","starred_url":"https://api.github.com/users/utsaslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utsaslab/subscriptions","organizations_url":"https://api.github.com/users/utsaslab/orgs","repos_url":"https://api.github.com/users/utsaslab/repos","events_url":"https://api.github.com/users/utsaslab/events{/privacy}","received_events_url":"https://api.github.com/users/utsaslab/received_events","type":"Organization","site_admin":false},"repo":{"id":95900349,"name":"crashmonkey","full_name":"utsaslab/crashmonkey","owner":{"login":"utsaslab","id":29800690,"avatar_url":"https://avatars0.githubusercontent.com/u/29800690?v=4","gravatar_id":"","url":"https://api.github.com/users/utsaslab","html_url":"https://github.com/utsaslab","followers_url":"https://api.github.com/users/utsaslab/followers","following_url":"https://api.github.com/users/utsaslab/following{/other_user}","gists_url":"https://api.github.com/users/utsaslab/gists{/gist_id}","starred_url":"https://api.github.com/users/utsaslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utsaslab/subscriptions","organizations_url":"https://api.github.com/users/utsaslab/orgs","repos_url":"https://api.github.com/users/utsaslab/repos","events_url":"https://api.github.com/users/utsaslab/events{/privacy}","received_events_url":"https://api.github.com/users/utsaslab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/utsaslab/crashmonkey","description":"CrashMonkey (HotStorage17)","fork":false,"url":"https://api.github.com/repos/utsaslab/crashmonkey","forks_url":"https://api.github.com/repos/utsaslab/crashmonkey/forks","keys_url":"https://api.github.com/repos/utsaslab/crashmonkey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/utsaslab/crashmonkey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/utsaslab/crashmonkey/teams","hooks_url":"https://api.github.com/repos/utsaslab/crashmonkey/hooks","issue_events_url":"https://api.github.com/repos/utsaslab/crashmonkey/issues/events{/number}","events_url":"https://api.github.com/repos/utsaslab/crashmonkey/events","assignees_url":"https://api.github.com/repos/utsaslab/crashmonkey/assignees{/user}","branches_url":"https://api.github.com/repos/utsaslab/crashmonkey/branches{/branch}","tags_url":"https://api.github.com/repos/utsaslab/crashmonkey/tags","blobs_url":"https://api.github.com/repos/utsaslab/crashmonkey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/utsaslab/crashmonkey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/utsaslab/crashmonkey/git/refs{/sha}","trees_url":"https://api.github.com/repos/utsaslab/crashmonkey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/utsaslab/crashmonkey/statuses/{sha}","languages_url":"https://api.github.com/repos/utsaslab/crashmonkey/languages","stargazers_url":"https://api.github.com/repos/utsaslab/crashmonkey/stargazers","contributors_url":"https://api.github.com/repos/utsaslab/crashmonkey/contributors","subscribers_url":"https://api.github.com/repos/utsaslab/crashmonkey/subscribers","subscription_url":"https://api.github.com/repos/utsaslab/crashmonkey/subscription","commits_url":"https://api.github.com/repos/utsaslab/crashmonkey/commits{/sha}","git_commits_url":"https://api.github.com/repos/utsaslab/crashmonkey/git/commits{/sha}","comments_url":"https://api.github.com/repos/utsaslab/crashmonkey/comments{/number}","issue_comment_url":"https://api.github.com/repos/utsaslab/crashmonkey/issues/comments{/number}","contents_url":"https://api.github.com/repos/utsaslab/crashmonkey/contents/{+path}","compare_url":"https://api.github.com/repos/utsaslab/crashmonkey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/utsaslab/crashmonkey/merges","archive_url":"https://api.github.com/repos/utsaslab/crashmonkey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/utsaslab/crashmonkey/downloads","issues_url":"https://api.github.com/repos/utsaslab/crashmonkey/issues{/number}","pulls_url":"https://api.github.com/repos/utsaslab/crashmonkey/pulls{/number}","milestones_url":"https://api.github.com/repos/utsaslab/crashmonkey/milestones{/number}","notifications_url":"https://api.github.com/repos/utsaslab/crashmonkey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/utsaslab/crashmonkey/labels{/name}","releases_url":"https://api.github.com/repos/utsaslab/crashmonkey/releases{/id}","deployments_url":"https://api.github.com/repos/utsaslab/crashmonkey/deployments","created_at":"2017-06-30T15:17:11Z","updated_at":"2018-03-26T20:13:36Z","pushed_at":"2018-03-28T20:13:53Z","git_url":"git://github.com/utsaslab/crashmonkey.git","ssh_url":"git@github.com:utsaslab/crashmonkey.git","clone_url":"https://github.com/utsaslab/crashmonkey.git","svn_url":"https://github.com/utsaslab/crashmonkey","homepage":null,"size":1260,"stargazers_count":27,"watchers_count":27,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":4,"open_issues":28,"watchers":27,"default_branch":"master"}},"base":{"label":"utsaslab:master","ref":"master","sha":"fc4992cd23f16c457207bbafba8ccc26c1699b39","user":{"login":"utsaslab","id":29800690,"avatar_url":"https://avatars0.githubusercontent.com/u/29800690?v=4","gravatar_id":"","url":"https://api.github.com/users/utsaslab","html_url":"https://github.com/utsaslab","followers_url":"https://api.github.com/users/utsaslab/followers","following_url":"https://api.github.com/users/utsaslab/following{/other_user}","gists_url":"https://api.github.com/users/utsaslab/gists{/gist_id}","starred_url":"https://api.github.com/users/utsaslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utsaslab/subscriptions","organizations_url":"https://api.github.com/users/utsaslab/orgs","repos_url":"https://api.github.com/users/utsaslab/repos","events_url":"https://api.github.com/users/utsaslab/events{/privacy}","received_events_url":"https://api.github.com/users/utsaslab/received_events","type":"Organization","site_admin":false},"repo":{"id":95900349,"name":"crashmonkey","full_name":"utsaslab/crashmonkey","owner":{"login":"utsaslab","id":29800690,"avatar_url":"https://avatars0.githubusercontent.com/u/29800690?v=4","gravatar_id":"","url":"https://api.github.com/users/utsaslab","html_url":"https://github.com/utsaslab","followers_url":"https://api.github.com/users/utsaslab/followers","following_url":"https://api.github.com/users/utsaslab/following{/other_user}","gists_url":"https://api.github.com/users/utsaslab/gists{/gist_id}","starred_url":"https://api.github.com/users/utsaslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utsaslab/subscriptions","organizations_url":"https://api.github.com/users/utsaslab/orgs","repos_url":"https://api.github.com/users/utsaslab/repos","events_url":"https://api.github.com/users/utsaslab/events{/privacy}","received_events_url":"https://api.github.com/users/utsaslab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/utsaslab/crashmonkey","description":"CrashMonkey (HotStorage17)","fork":false,"url":"https://api.github.com/repos/utsaslab/crashmonkey","forks_url":"https://api.github.com/repos/utsaslab/crashmonkey/forks","keys_url":"https://api.github.com/repos/utsaslab/crashmonkey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/utsaslab/crashmonkey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/utsaslab/crashmonkey/teams","hooks_url":"https://api.github.com/repos/utsaslab/crashmonkey/hooks","issue_events_url":"https://api.github.com/repos/utsaslab/crashmonkey/issues/events{/number}","events_url":"https://api.github.com/repos/utsaslab/crashmonkey/events","assignees_url":"https://api.github.com/repos/utsaslab/crashmonkey/assignees{/user}","branches_url":"https://api.github.com/repos/utsaslab/crashmonkey/branches{/branch}","tags_url":"https://api.github.com/repos/utsaslab/crashmonkey/tags","blobs_url":"https://api.github.com/repos/utsaslab/crashmonkey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/utsaslab/crashmonkey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/utsaslab/crashmonkey/git/refs{/sha}","trees_url":"https://api.github.com/repos/utsaslab/crashmonkey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/utsaslab/crashmonkey/statuses/{sha}","languages_url":"https://api.github.com/repos/utsaslab/crashmonkey/languages","stargazers_url":"https://api.github.com/repos/utsaslab/crashmonkey/stargazers","contributors_url":"https://api.github.com/repos/utsaslab/crashmonkey/contributors","subscribers_url":"https://api.github.com/repos/utsaslab/crashmonkey/subscribers","subscription_url":"https://api.github.com/repos/utsaslab/crashmonkey/subscription","commits_url":"https://api.github.com/repos/utsaslab/crashmonkey/commits{/sha}","git_commits_url":"https://api.github.com/repos/utsaslab/crashmonkey/git/commits{/sha}","comments_url":"https://api.github.com/repos/utsaslab/crashmonkey/comments{/number}","issue_comment_url":"https://api.github.com/repos/utsaslab/crashmonkey/issues/comments{/number}","contents_url":"https://api.github.com/repos/utsaslab/crashmonkey/contents/{+path}","compare_url":"https://api.github.com/repos/utsaslab/crashmonkey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/utsaslab/crashmonkey/merges","archive_url":"https://api.github.com/repos/utsaslab/crashmonkey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/utsaslab/crashmonkey/downloads","issues_url":"https://api.github.com/repos/utsaslab/crashmonkey/issues{/number}","pulls_url":"https://api.github.com/repos/utsaslab/crashmonkey/pulls{/number}","milestones_url":"https://api.github.com/repos/utsaslab/crashmonkey/milestones{/number}","notifications_url":"https://api.github.com/repos/utsaslab/crashmonkey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/utsaslab/crashmonkey/labels{/name}","releases_url":"https://api.github.com/repos/utsaslab/crashmonkey/releases{/id}","deployments_url":"https://api.github.com/repos/utsaslab/crashmonkey/deployments","created_at":"2017-06-30T15:17:11Z","updated_at":"2018-03-26T20:13:36Z","pushed_at":"2018-03-28T20:13:53Z","git_url":"git://github.com/utsaslab/crashmonkey.git","ssh_url":"git@github.com:utsaslab/crashmonkey.git","clone_url":"https://github.com/utsaslab/crashmonkey.git","svn_url":"https://github.com/utsaslab/crashmonkey","homepage":null,"size":1260,"stargazers_count":27,"watchers_count":27,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":4,"open_issues":28,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/98"},"html":{"href":"https://github.com/utsaslab/crashmonkey/pull/98"},"issue":{"href":"https://api.github.com/repos/utsaslab/crashmonkey/issues/98"},"comments":{"href":"https://api.github.com/repos/utsaslab/crashmonkey/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/utsaslab/crashmonkey/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/utsaslab/crashmonkey/statuses/92207a6953c457b608e67659c3aaa73ae9e86dab"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jayashreemohan29"}}