aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
Diffstat (limited to 'validation')
-rwxr-xr-xvalidation/test-suite10
1 files changed, 5 insertions, 5 deletions
diff --git a/validation/test-suite b/validation/test-suite
index a92debd8..0311cc45 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -45,8 +45,8 @@ get_tag_value()
check_output_ignore=0
check_output_contains=0
check_output_excludes=0
+ check_output_pattern_obsolete=0
check_output_pattern=0
- check_output_pattern_minmax=0
lines=$(grep 'check-[a-z-]*' $1 | \
sed -e 's/^.*\(check-[a-z-]*:*\) *\(.*\)$/\1 \2/')
@@ -65,8 +65,8 @@ get_tag_value()
check-output-ignore) check_output_ignore=1 ;;
check-output-contains:) check_output_contains=1 ;;
check-output-excludes:) check_output_excludes=1 ;;
- check-output-pattern-) check_output_pattern=1 ;;
- check-output-pattern) check_output_pattern_minmax=1 ;;
+ check-output-pattern-) check_output_pattern_obsolete=1 ;;
+ check-output-pattern) check_output_pattern=1 ;;
esac
done << EOT
$lines
@@ -313,14 +313,14 @@ do_test()
test_failed=1
fi
fi
- if [ $check_output_pattern -eq 1 ]; then
+ if [ $check_output_pattern_obsolete -eq 1 ]; then
# verify the 'check-output-pattern-X-times' tags
nbr_patterns "$file" 'check-output-pattern' $file.output.got
if [ "$?" -ne "0" ]; then
test_failed=1
fi
fi
- if [ $check_output_pattern_minmax -eq 1 ]; then
+ if [ $check_output_pattern -eq 1 ]; then
# verify the 'check-output-pattern(...)' tags
minmax_patterns "$file" 'check-output-pattern' $file.output.got
if [ "$?" -ne "0" ]; then