*** empty log message ***
authorUlf Möller <ulf@openssl.org>
Wed, 23 Feb 2000 22:07:59 +0000 (22:07 +0000)
committerUlf Möller <ulf@openssl.org>
Wed, 23 Feb 2000 22:07:59 +0000 (22:07 +0000)
util/selftest.pl

index daa7ebc..0849737 100644 (file)
@@ -65,10 +65,10 @@ print OUT "\n";
 
 print "Checking compiler...\n";
 if (open(TEST,">test.c")) {
-    print TEST "#include <stdio.h>\nmain(){printf(\"Hello world\n\");}\n";
+    print TEST "#include <stdio.h>\nmain(){printf(\"Hello world\\n\");}\n";
     close(TEST);
     system("$cc -o cctest test.c");
-    if (! `./cctest` =~ /Hello world/) {
+    if (`./cctest` !~ /Hello world/) {
        print OUT "Compiler doesn't work.\n";
        goto err;
     }