~ubuntu-branches/debian/sid/automake1.10/sid

« back to all changes in this revision

Viewing changes to tests/check10.test

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2010-02-22 00:26:17 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100222002617-d4bep05o23z7mgb9
Tags: 1:1.10.3-1
* New upstream release. Contains fix for CVE-2009-4029, which created
  world-writable directories in distribution tarballs.
* debian/source/format, debian/source/options,
  debian/source/patch-header: Convert to v3 quilt format, with
  single-debian-patch.
* debian/lintian.overrides, debian/automake1.10.lintian-overrides:
  Rename overrides file to use new dh_lintian helper.
* debian/rules, debian/control, debian/compat: Convert to a dh style
  rules file, change debhelper dependency and compat file to match.
* debian/watch: Make watch file only check for 1.10 versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# Copyright (C) 2008  Free Software Foundation, Inc.
 
2
# Copyright (C) 2008, 2009  Free Software Foundation, Inc.
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
5
5
# it under the terms of the GNU General Public License as published by
72
72
  env TESTS="xpass xpass2" $MAKE -e check
73
73
  env TESTS='pass skip xfail' $MAKE -e check
74
74
  $MAKE check
 
75
  :
75
76
) >stdout
76
77
cat stdout
77
78
 
78
 
grep '1 [tT]ests' stdout && exit 1
79
 
grep '^[^1]* [tT]est ' stdout && exit 1
80
 
grep '1 .* were ' stdout && exit 1
81
 
grep '^[^1]* was' stdout && exit 1
82
 
grep 'All 1 ' stdout && exit 1
83
 
grep '^ .*[tT]est' stdout && exit 1
84
 
$EGREP '1 (un)?expected (failures|passes)' stdout && exit 1
85
 
$EGREP '[^1] (un)?expected (failure|pass)\)' stdout && exit 1
 
79
grep '1 [tT]ests' stdout && Exit 1
 
80
grep '[02-9] [tT]est ' stdout && Exit 1
 
81
grep '1 .* were ' stdout && Exit 1
 
82
grep '[02-9].* was .*run' stdout && Exit 1
 
83
grep 'All 1 ' stdout && Exit 1
 
84
$EGREP '1 (un)?expected (failures|passes)' stdout && Exit 1
 
85
$EGREP '[^1] (un)?expected (failure|pass)\)' stdout && Exit 1
86
86
 
87
87
: