~ubuntu-branches/ubuntu/trusty/xdiagnose/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/test_apport_gpu_hook

  • Committer: Package Import Robot
  • Author(s): Bryce Harrington
  • Date: 2012-04-13 13:13:26 UTC
  • Revision ID: package-import@ubuntu.com-20120413131326-n1tmqajni3ed83p5
Tags: 2.5
* apport hook fixes:
  - Fix missing Xorg.0.log, xorg.conf, etc. files for bugs filed against
    input packages.
  - Fix inclusion of lightdm logs, which were recently renamed in lightdm.
  - Fix reversed logic for inclusion of keyboard data on input bugs
  - Fix reporting gpu lockups without signatures.  These aren't
    actionable bug reports since there is no indicated error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
echo "# Testing intel GPU hook..."
4
4
lines=$(python apport/apport-gpu-error-intel.py --stdout --force| wc -l)
5
5
retval=$?
6
 
if [ $retval = 2 ]; then
7
 
    echo "Apport is disabled"
8
 
    exit 0
9
 
elif [ $retval -ne 0 ]; then
 
6
if [ $retval -ne 0 ]; then
10
7
    echo "ERROR"
11
8
    exit 1
12
9
elif [ $lines -lt 100 ]; then