Web lists-archives.com

Solaris and sed: Too many commands, last: s/\n//




Hi Everyone,

I enabled self tests for Solaris. Solaris has some anemic utilities so
I put /usr/gnu/bin first on-path.

make test is resulting in a lot of:

gmake -C templates  SHELL_PATH='/bin/bash' PERL_PATH='/usr/bin/perl'
gmake[1]: Entering directory
`/export/home/jwalton/Build-Scripts/git-2.21.0/templates'
: no custom templates yet
gmake[1]: Leaving directory
`/export/home/jwalton/Build-Scripts/git-2.21.0/templates'
gmake -C t/ all
gmake[1]: Entering directory `/export/home/jwalton/Build-Scripts/git-2.21.0/t'
rm -f -r 'test-results'
sed: Too many commands, last: s/\n//
--- chainlint/arithmetic-expansion.expect       2019-02-24
11:31:46.000000000 -0500
+++ chainlinttmp/arithmetic-expansion.actual    2019-03-11
12:20:16.880610011 -0400
@@ -1,9 +0,0 @@
-(
-       foo &&
-       bar=$((42 + 1)) &&
-       baz
->) &&
-(
-?!AMP?!        bar=$((42 + 1))
-       baz
->)
sed: Too many commands, last: s/\n//
--- chainlint/bash-array.expect 2019-02-24 11:31:46.000000000 -0500
+++ chainlinttmp/bash-array.actual      2019-03-11 12:20:16.902186323 -0400
@@ -1,10 +0,0 @@
-(
-       foo &&
-       bar=(gumbo stumbo wumbo) &&
-       baz
->) &&
-(
-       foo &&
-       bar=${#bar[@]} &&
-       baz
->)
sed: Too many commands, last: s/\n//

A more complete output is available at https://pastebin.com/gpZMUVmQ,
but it is more of the same.

Solaris in a VM sucks. I can provide SSH access to the hardware if
anyone is interested. It is just an Solaris i86pc on an older Ivy
Bridge.

Jeff