You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
test.sh doesn't work in BSD-ish (OSX) systems #1504
But then invoking test.sh directly doesn't work, because BSD readlink doesn't print anything at all if its argument isn't a symlink. At that point I gave up.
BSD mktemp also diverges from GNU's version. This is a problem with the invocation on line 12. I haven't dug into it in any detail.
Bummer. The goal in supporting symlinks was that we could auto-install push hooks when people run install-dev-dependencies, but update the test script. I suppose we could do the same by putting a small script in .git/hooks that cd's to the repo root and then runs ./test.sh.
If you can provide a universal mktemp invocation, or a simple detection test, I'd be happy to update that bit as well.
I'll see what I can do! I'm visiting my due-to-give-birth-any-minute sister this week, so don't think I've abandoned this if nothing happens for a bit :)
After ages of thinking "oh yeah I need to get around to that," I've gotten around to this! #1714 fixes up test.sh and a couple other scripts so they run on my machine. If someone would be so kind as to check it on a linux OS I'd appreciate it. I do have an Ubuntu VPS where I could test the fix but I'm not sure if it presents a realistic dev environment.
Activity
jsha commentedon Apr 21, 2015
Bummer. The goal in supporting symlinks was that we could auto-install push hooks when people run install-dev-dependencies, but update the test script. I suppose we could do the same by putting a small script in .git/hooks that cd's to the repo root and then runs ./test.sh.
If you can provide a universal mktemp invocation, or a simple detection test, I'd be happy to update that bit as well.
ErinCall commentedon Apr 21, 2015
I'll see what I can do! I'm visiting my due-to-give-birth-any-minute sister this week, so don't think I've abandoned this if nothing happens for a bit :)
Make an effort to install & find GNU-style utils [EFForg#1504]
Make an effort to install and use GNU-style utils [EFForg#1504]
Use GNU sha256sum if possible [EFForg#1504]
Don't panic on failing to find a utility [EFForg#1504]
ErinCall commentedon May 16, 2015
After ages of thinking "oh yeah I need to get around to that," I've gotten around to this! #1714 fixes up test.sh and a couple other scripts so they run on my machine. If someone would be so kind as to check it on a linux OS I'd appreciate it. I do have an Ubuntu VPS where I could test the fix but I'm not sure if it presents a realistic dev environment.
Use openssl sha to calculate shasums [EFForg#1504]
Use a distribution-independent mktemp command [EFForg#1504]
Use a distribution-independent readlink invocation [EFForg#1504]