|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
why filter tests failed on Solarishi, Daniel
The filter test failed on Solaris again because of differences in shell interpretation again. On Linux if the two directory data1 and data2 are identical $ test "x$(diff -x ".*" data1 data2)" = "x" $ echo $? 0 But if they are not identical, $ test "x$(diff -x ".*" data1 data2)" = "x" $ echo $? 1 However it is the other way around on solaris shell. To avoid the failure, can I just add some #ifdefs to treat the return value differently? --Irene ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Opensync-devel mailing list Opensync-devel@... https://lists.sourceforge.net/lists/listinfo/opensync-devel |
|
|
Re: why filter tests failed on SolarisPlease ignore this, this was a mistake :)
--Irene On Wed, 2008-04-23 at 23:40 +0000, Irene Huang wrote: > hi, Daniel > > The filter test failed on Solaris again because of differences in shell > interpretation again. > > On Linux if the two directory data1 and data2 are identical > $ test "x$(diff -x ".*" data1 data2)" = "x" > $ echo $? > 0 > But if they are not identical, > $ test "x$(diff -x ".*" data1 data2)" = "x" > $ echo $? > 1 > > However it is the other way around on solaris shell. > > To avoid the failure, can I just add some #ifdefs to treat the return > value differently? > > --Irene > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Opensync-devel mailing list > Opensync-devel@... > https://lists.sourceforge.net/lists/listinfo/opensync-devel ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Opensync-devel mailing list Opensync-devel@... https://lists.sourceforge.net/lists/listinfo/opensync-devel |
| Free Forum Powered by Nabble | Forum Help |