{"action":"created","issue":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/662","repository_url":"https://api.github.com/repos/ElektraInitiative/libelektra","labels_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/662/labels{/name}","comments_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/662/comments","events_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/662/events","html_url":"https://github.com/ElektraInitiative/libelektra/pull/662","id":151493215,"number":662,"title":"Tests: Simplify Code in Resolver Check","user":{"login":"sanssecours","id":691989,"avatar_url":"https://avatars.githubusercontent.com/u/691989?v=3","gravatar_id":"","url":"https://api.github.com/users/sanssecours","html_url":"https://github.com/sanssecours","followers_url":"https://api.github.com/users/sanssecours/followers","following_url":"https://api.github.com/users/sanssecours/following{/other_user}","gists_url":"https://api.github.com/users/sanssecours/gists{/gist_id}","starred_url":"https://api.github.com/users/sanssecours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanssecours/subscriptions","organizations_url":"https://api.github.com/users/sanssecours/orgs","repos_url":"https://api.github.com/users/sanssecours/repos","events_url":"https://api.github.com/users/sanssecours/events{/privacy}","received_events_url":"https://api.github.com/users/sanssecours/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/labels/test","name":"test","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-27T21:16:29Z","updated_at":"2016-04-28T06:55:15Z","closed_at":"2016-04-28T06:55:14Z","pull_request":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/pulls/662","html_url":"https://github.com/ElektraInitiative/libelektra/pull/662","diff_url":"https://github.com/ElektraInitiative/libelektra/pull/662.diff","patch_url":"https://github.com/ElektraInitiative/libelektra/pull/662.patch"},"body":"I did **not test** this change with `dash`! However the simplified code works fine in `sh` on OS X:\r\n\r\n```sh\r\n> TMPPATH=`cd /tmp; pwd -P`\r\n> echo $TMPPATH\r\n/private/tmp\r\n```"},"comment":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/comments/215328186","html_url":"https://github.com/ElektraInitiative/libelektra/pull/662#issuecomment-215328186","issue_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/662","id":215328186,"user":{"login":"markus2330","id":7949075,"avatar_url":"https://avatars.githubusercontent.com/u/7949075?v=3","gravatar_id":"","url":"https://api.github.com/users/markus2330","html_url":"https://github.com/markus2330","followers_url":"https://api.github.com/users/markus2330/followers","following_url":"https://api.github.com/users/markus2330/following{/other_user}","gists_url":"https://api.github.com/users/markus2330/gists{/gist_id}","starred_url":"https://api.github.com/users/markus2330/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus2330/subscriptions","organizations_url":"https://api.github.com/users/markus2330/orgs","repos_url":"https://api.github.com/users/markus2330/repos","events_url":"https://api.github.com/users/markus2330/events{/privacy}","received_events_url":"https://api.github.com/users/markus2330/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T06:55:15Z","updated_at":"2016-04-28T06:55:15Z","body":"Looks nice, I am not sure how portable `-P` is, though."}}