Closed GoogleCodeExporter closed 9 years ago
Thank you. So far, I've applied this fix together with some fixes for building
a shared library on Solaris to the hiredis repository.
Original comment by pcnoordh...@gmail.com
on 16 Dec 2010 at 11:26
No worries. I'm also having problems with the tests given that solaris tail
has different params than gnu tail - I get;
(cd ..; tclsh8.5 tests/test_helper.tcl --tags "" --file "")
................................................................................
................................................................................
................................................................................
......................................F.F.......................................
................................................................................
.....usage: tail [+/-[n][lbc][f]] [file]
tail [+/-[n][l][r|f]] [file]
while executing
"exec cat [dict get $srv stdout] | tail -n1"
("uplevel" body line 2)
invoked from within
"uplevel 1 $code"
(procedure "test" line 36)
invoked from within
"test {Unfinished MULTI: Server should have logged an error} {
exec cat [dict get $srv stdout] | tail -n1
} {*Unexpected end of fil..."
("uplevel" body line 6)
invoked from within
"uplevel 1 $code"
(procedure "start_server_aof" line 5)
invoked from within
"start_server_aof [list dir $server_path] {
test {Unfinished MULTI: Server should not have been started} {
is_alive $srv
} ..."
("uplevel" body line 9)
invoked from within
"uplevel 1 $code"
(procedure "tags" line 3)
invoked from within
"tags {"aof"} {
## Test the server doesn't start when the AOF contains an unfinished MULTI
create_aof {
append_to_aof [formatCommand se..."
(file "tests/integration/aof.tcl" line 25)
invoked from within
"source $path"
(procedure "execute_tests" line 4)
invoked from within
"execute_tests "integration/aof""
(procedure "execute_everything" line 15)
invoked from within
"execute_everything"
(procedure "main" line 9)
invoked from within
"main "
gmake: *** [test] Error 1
I'm not sure how to fix these.
Original comment by anko.com
on 17 Dec 2010 at 12:08
The compile errors for Solaris have now been fixed. Regarding the "tail" issue:
there is a difference between GNU tools and non-GNU tools. Fixing this in the
testing code is hard because not only is there a difference in the names of the
flags to the command, but also in the feature set. I'd advise to install and
use the GNU tools...
Original comment by pcnoordh...@gmail.com
on 23 Dec 2010 at 12:27
Original issue reported on code.google.com by
anko.com
on 15 Dec 2010 at 11:30Attachments: