File: verify_refcounts.sh

package info (click to toggle)
ori 0.8.1%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,204 kB
  • ctags: 2,659
  • sloc: cpp: 22,383; ansic: 5,870; sh: 451; python: 205; makefile: 21
file content (6 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
# Check refcounts
echo "Checking refcounts"
REFCOUNTS_1=`$ORI_EXE refcount | tee ../refcount1.txt`
$ORI_EXE rebuildrefs
REFCOUNTS_2=`$ORI_EXE refcount | tee ../refcount2.txt`
test "$REFCOUNTS_1" = "$REFCOUNTS_2"