source: git/tests/diffpos.tst @ e329f0f

RELEASE/1.0RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereostereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Last change on this file since e329f0f was 6b8ff5b, checked in by Olly Betts <olly@…>, 26 years ago

Default srcdir if not set so we can easily run a test standalone

git-svn-id: file:///home/survex-svn/survex/trunk@315 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100755
File size: 338 bytes
RevLine 
[fbc3a20]1#!/bin/sh
[6b8ff5b]2
3# allow us to run tests standalone more easily
4if test "x$srcdir" = "x" ; then srcdir=. ; fi
5
[fbc3a20]6for file in delatend addatend ; do
7  echo $file
8  rm -f diffpos.tmp
[cbd7139]9  ../src/diffpos $srcdir/${file}a.pos $srcdir/${file}b.pos > diffpos.tmp
[fbc3a20]10  cmp diffpos.tmp $srcdir/${file}.out > /dev/null || exit 1
11  rm -f diffpos.tmp
12done
13exit 0
Note: See TracBrowser for help on using the repository browser.