Am Montag, 4. September 2006 07:28 schrieb Ph. Marek: > > Attached the results of run-tests 015/016 on my Linux box... the > > other tests run smoothly... > > + [[ 0 == 0 ]] > > + echo 'NOK - status prints something:' > Why is 0 not 0 on your machine??? Is that because of the whitespaces?
Maybe change that to [ "$a" -eq "$b" ] so a numeric comparision is performed instead of a string comparison? Greetings, Gunter -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ "Weiß jemand, wie das Gerät heißt, das einen Blick durch die Wand ermöglicht?" "Abrißbirne." -- Reinhard Gonaus und Tilman Heckel in de.etc.sprache.deutsch +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + PGP-verschlüsselte Mails bevorzugt! + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
pgpjlTiGqR2g3.pgp
Description: PGP signature
