Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk

This commit is contained in:
Brian Behlendorf 2009-01-14 15:44:26 -08:00
commit b00ebbc449
4 changed files with 6 additions and 19 deletions

View File

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

View File

@ -60,7 +60,6 @@ AC_CONFIG_FILES([
Makefile
config/Makefile
doc/Makefile
scripts/Makefile
lib/Makefile
lib/libavl/Makefile
lib/libnvpair/Makefile
@ -91,5 +90,6 @@ AC_CONFIG_FILES([
module/zcommon/include/sys/fm/Makefile
module/zcommon/include/sys/fm/fs/Makefile
module/zfs/Makefile
scripts/Makefile
])
AC_OUTPUT

View File

@ -1,4 +1,5 @@
EXTRA_DIST = update-zfs.sh check.sh zfs.sh create-zpool.sh
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