{"action":"created","issue":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/1361","labels_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1361/labels{/name}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1361/comments","events_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1361/events","html_url":"https://github.com/chapel-lang/chapel/pull/1361","id":58421644,"number":1361,"title":"Update setchplenv.* tests to work when CHPL_HOME is a symlink.","user":{"login":"thomasvandoren","id":530981,"avatar_url":"https://avatars.githubusercontent.com/u/530981?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasvandoren","html_url":"https://github.com/thomasvandoren","followers_url":"https://api.github.com/users/thomasvandoren/followers","following_url":"https://api.github.com/users/thomasvandoren/following{/other_user}","gists_url":"https://api.github.com/users/thomasvandoren/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasvandoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasvandoren/subscriptions","organizations_url":"https://api.github.com/users/thomasvandoren/orgs","repos_url":"https://api.github.com/users/thomasvandoren/repos","events_url":"https://api.github.com/users/thomasvandoren/events{/privacy}","received_events_url":"https://api.github.com/users/thomasvandoren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-20T22:49:40Z","updated_at":"2015-02-20T22:54:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chapel-lang/chapel/pulls/1361","html_url":"https://github.com/chapel-lang/chapel/pull/1361","diff_url":"https://github.com/chapel-lang/chapel/pull/1361.diff","patch_url":"https://github.com/chapel-lang/chapel/pull/1361.patch"},"body":"Use os.stat() when comparing expected vs. actual directories. This will work\r\neven if CHPL_HOME is a symlink, since the stat values are the same for symlinks\r\nand their targets.\r\n\r\nNote that this is necessary because subprocess.Popen() sets PWD in the environment\r\nto the real path instead the symlink path.\r\n\r\nI verified this works with:\r\n\r\n```bash\r\ncd ~/src/\r\ngit clone git@github.com:chapel-lang/chapel.git\r\ncd ~\r\nln -sv src/chapel test-chapel-link\r\ncd test-chapel-link\r\nstart_test test/setchplenv/\r\n```"},"comment":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/comments/75334656","html_url":"https://github.com/chapel-lang/chapel/pull/1361#issuecomment-75334656","issue_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1361","id":75334656,"user":{"login":"thomasvandoren","id":530981,"avatar_url":"https://avatars.githubusercontent.com/u/530981?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasvandoren","html_url":"https://github.com/thomasvandoren","followers_url":"https://api.github.com/users/thomasvandoren/followers","following_url":"https://api.github.com/users/thomasvandoren/following{/other_user}","gists_url":"https://api.github.com/users/thomasvandoren/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasvandoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasvandoren/subscriptions","organizations_url":"https://api.github.com/users/thomasvandoren/orgs","repos_url":"https://api.github.com/users/thomasvandoren/repos","events_url":"https://api.github.com/users/thomasvandoren/events{/privacy}","received_events_url":"https://api.github.com/users/thomasvandoren/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T22:54:02Z","updated_at":"2015-02-20T22:54:02Z","body":"@mppf -- will you please review?"}}