[BACK]Return to build-run.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / bsd / tre / dist / tests

File: [cvs.NetBSD.org] / src / external / bsd / tre / dist / tests / build-run.sh (download)

Revision 1.1.1.1 (vendor branch), Fri Nov 17 16:11:12 2017 UTC (2 years, 8 months ago) by rin
Branch: MAIN, LAURIKARI
CVS Tags: tre-20171117, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, HEAD
Changes since 1.1: +0 -0 lines

Import tre from https://github.com/laurikari/tre as of 10171117:

- tre_reg*b() functions are added, that take bytes literally.
- minor bug fixes

#! /bin/sh
#

set -e

# Try to synchronize the file system in case $scp_host and $host are
# different (NFS complains about stale file handles and whatnot
# without this).
sync
sleep 1
sync

. ./build-params.sh

# Make a unique temporary directory name.
hostname=`hostname`
tmpdir=build-tmp-$dir-$hostname-$$

rm -rf $tmpdir
mkdir $tmpdir
cp $pkg $tmpdir
cd $tmpdir

gunzip -c $pkg | tar xf -
cd $dir

./tests/build-tests.sh