]>
Commit | Line | Data |
---|---|---|
d696c285 A |
1 | #!/usr/bin/perl -w |
2 | ||
3 | # | |
4 | # Usage: | |
5 | # | |
6 | # command | ${FAIL_IF_EMPTY} | |
7 | # | |
8 | ||
9 | use strict; | |
10 | ||
11 | my $test_name = ""; | |
12 | if ( exists $ENV{UNIT_TEST_NAME} ) { | |
13 | $test_name = $ENV{UNIT_TEST_NAME}; | |
14 | } | |
15 | ||
16 | if( eof STDIN ) | |
17 | { | |
18 | printf("FAIL $test_name\n"); | |
a61fdf0a | 19 | exit 1; |
d696c285 | 20 | } |
a61fdf0a | 21 | |
d696c285 | 22 | exit 0; |