File: rs274-test

package info (click to toggle)
linuxcnc 1%3A2.9.4-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 282,780 kB
  • sloc: python: 201,110; ansic: 106,370; cpp: 99,219; tcl: 16,054; xml: 10,617; sh: 10,258; makefile: 1,251; javascript: 138; sql: 72; asm: 15
file content (21 lines) | stat: -rwxr-xr-x 336 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -e

cd $(dirname $0)

log=$AUTOPKGTEST_TMP/rs274.out

if ! rs274 -g rs274.ngc > $log 2>&1 ; then
    echo "error: failed to run rs274"
    cat $log
    exit 1
fi

if ! diff -u $log rs274.res ; then
    echo "error: rs274 output do not match rs274.res"
    exit 1
fi

echo "success: rs274 output matches rs274.res"
exit 0