Merge commit 'refs/top-bases/linux-have-xdr' into linux-have-xdr
This commit is contained in:
commit
a0af7af510
|
@ -28,3 +28,6 @@ ztest_LDADD = \
|
|||
$(top_builddir)/lib/libzfs/libzfs.la
|
||||
|
||||
ztest_LDFLAGS = -pthread -lm -lz -lrt -ldl
|
||||
|
||||
check:
|
||||
./ztest -V
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue