summaryrefslogtreecommitdiffstats
path: root/util/selftest.pl
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-02-23 22:07:59 +0000
committerUlf Möller <ulf@openssl.org>2000-02-23 22:07:59 +0000
commit71308c3bb54678d33f76ec3fcd83d0ab1ed7029a (patch)
treec6648b6f3b1fe665ed9644be33957bfa3fd842a4 /util/selftest.pl
parent720b590f567aeded50fa19dbc141da7d0e514c85 (diff)
*** empty log message ***
Diffstat (limited to 'util/selftest.pl')
-rw-r--r--util/selftest.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/selftest.pl b/util/selftest.pl
index daa7ebc3a7..0849737ace 100644
--- a/util/selftest.pl
+++ b/util/selftest.pl
@@ -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;
}