~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to storage/tokudb/ft-index/portability/tests/ensure_memcheck_fails.sh

  • Committer: Package Import Robot
  • Author(s): James Page, Otto Kekäläinen
  • Date: 2014-02-17 16:51:52 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140217165152-k315d3175g865kkx
Tags: 5.5.35-1
[ Otto Kekäläinen ]
* New upstream release, fixing the following security issues:
  - Buffer overflow in client/mysql.cc (Closes: #737597).
    - CVE-2014-0001
  - http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html
    - CVE-2013-5891
    - CVE-2013-5908
    - CVE-2014-0386
    - CVE-2014-0393
    - CVE-2014-0401
    - CVE-2014-0402
    - CVE-2014-0412
    - CVE-2014-0420
    - CVE-2014-0437
* Upstream https://mariadb.atlassian.net/browse/MDEV-4902
  fixes compatibility with Bison 3.0 (Closes: #733002)
* Updated Russian debconf translation (Closes: #734426)
* Updated Japanese debconf translation (Closes: #735284)
* Updated French debconf translation (Closes: #736480)
* Renamed SONAME properly (Closes: #732967)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env bash
 
2
 
 
3
test $# -ge 1 || exit 1
 
4
 
 
5
bin=$1; shift
 
6
valgrind=$@
 
7
 
 
8
$valgrind --log-file=$bin.check.valgrind $bin >$bin.check.output 2>&1
 
9
if [[ $? = 0 ]]
 
10
then
 
11
    lines=$(cat $bin.check.valgrind | wc -l)
 
12
    if [[ lines -ne 0 ]]
 
13
    then
 
14
        cat $bin.check.valgrind
 
15
        exit 0
 
16
    else
 
17
        exit 1
 
18
    fi
 
19
else
 
20
    exit 0
 
21
fi