Skip to content
Snippets Groups Projects
Commit 66d8ec33 authored by kiilerix's avatar kiilerix
Browse files

test-share: Solaris sed can't handle never-ending lines

parent a5f3f9b1
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,8 @@
[ -d .hg/store ] \
&& echo "fail: .hg/store should not exist" \
|| echo "pass: .hg/store does not exist"
# sed appends a newline to the stream if none, GNU sed does not
sed "s:$HGTMP:*HGTMP*:" .hg/sharedpath | tr -d '\n'; echo
# Some sed versions appends newline, some don't, and some just fails
(cat .hg/sharedpath; echo) | head -n1 | sed "s:$HGTMP:*HGTMP*:"
echo % commit in shared clone
echo a >> a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment