File: test-numround.sh

package info (click to toggle)
num-utils 0.5-15
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 984 kB
  • sloc: perl: 1,266; sh: 113; makefile: 94
file content (11 lines) | stat: -rwxr-xr-x 191 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

myret=0

for i in $(seq 1 13); do 
	head -n${i} $AUTOPKGTEST_TMP/tests/rounds | tail -n1 | numround | grep "0" || let myret=$myret+1
done

if [ "$myret" -gt 0 ]; then
	false;
fi