]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/bin/fail-if-no-stdin.pl
ld64-134.9.tar.gz
[apple/ld64.git] / unit-tests / bin / fail-if-no-stdin.pl
index 0c8ae66cd9984bd1478fab9de148353c0df9ac07..a44f5d3e52cc9179dcdb2f263a15f02c59bcddc2 100755 (executable)
@@ -16,5 +16,7 @@ if ( exists $ENV{UNIT_TEST_NAME} ) {
 if( eof STDIN )
 {
     printf("FAIL $test_name\n");
+    exit 1;
 }
+
 exit 0;