summaryrefslogtreecommitdiffstats
path: root/src/Backtrace/check-bt-parsability
blob: 24dde5a0fcdc4e1daae615bd26008571f52d3322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
# -*- mode: bash -*-

PASS=0
FAIL=0
for file in *.bt
do
  #echo "$file"
  ./abrt-backtrace $file &> /dev/null
  if [ "$?" -eq "0" ]
  then
      echo -n "."
      PASS=$(($PASS+1))
  else
      echo "-$file"
      FAIL=$(($FAIL+1))
  fi
done