Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch

This commit is contained in:
Brian Behlendorf 2009-01-14 16:05:29 -08:00
commit 6d0121d8de
4 changed files with 6 additions and 19 deletions

View File

@ -28,3 +28,6 @@ ztest_LDADD = \
$(top_builddir)/lib/libzfs/libzfs.la $(top_builddir)/lib/libzfs/libzfs.la
ztest_LDFLAGS = -pthread -lm -lz -lrt -ldl ztest_LDFLAGS = -pthread -lm -lz -lrt -ldl
check:
./ztest -V

View File

@ -60,7 +60,6 @@ AC_CONFIG_FILES([
Makefile Makefile
config/Makefile config/Makefile
doc/Makefile doc/Makefile
scripts/Makefile
lib/Makefile lib/Makefile
lib/libspl/Makefile lib/libspl/Makefile
lib/libavl/Makefile lib/libavl/Makefile
@ -95,5 +94,6 @@ AC_CONFIG_FILES([
module/zfs/Makefile module/zfs/Makefile
module/zpios/Makefile module/zpios/Makefile
module/zpios/include/Makefile module/zpios/include/Makefile
scripts/Makefile
]) ])
AC_OUTPUT AC_OUTPUT

View File

@ -1,4 +1,5 @@
EXTRA_DIST = update-zfs.sh check.sh zfs.sh create-zpool.sh EXTRA_DIST = update-zfs.sh check.sh zfs.sh create-zpool.sh
check: check:
./check.sh ./zfs.sh -v
./zfs.sh -vu

View File

@ -1,17 +0,0 @@
#!/bin/bash
prog=check.sh
die() {
echo "${prog}: $1" >&2
exit 1
}
if [ $(id -u) != 0 ]; then
die "Must run as root"
fi
./zfs.sh -v || die ""
./zfs.sh -vu || die ""
exit 0