Correctly test for no-ec.
authorBen Laurie <ben@links.org>
Wed, 21 Aug 2013 03:21:57 +0000 (04:21 +0100)
committerBen Laurie <ben@links.org>
Wed, 21 Aug 2013 03:21:57 +0000 (04:21 +0100)
test/cms-test.pl

index 5e553c84c94f3f1482eb804980acd1cd7024d8b3..006733a6befeee223c0431c8a1f9a16417d0cd39 100644 (file)
@@ -90,7 +90,7 @@ if ($? == 0)
        {
        $no_ec = 1;
        }
        {
        $no_ec = 1;
        }
-elsif ($? == 1)
+elsif ($? == 256)
        {
        $no_ec = 0;
        }
        {
        $no_ec = 0;
        }