[Pkg-zfsonlinux-devel] [SCM] spl branch, master, updated. debian/0.6.5.5-1-5-gca91266
Petter Reinholdtsen
pere at hungry.com
Thu Apr 28 09:03:47 UTC 2016
The following commit has been merged in the master branch:
commit ca9126689c369dddb989b1999a1bb285bdf798ce
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Thu Apr 28 11:01:08 2016 +0200
Added autopkgtest using code from Ubuntu using dkms >= 2.2.0.3-3~.
diff --git a/debian/control b/debian/control
index 51c1318..fb76719 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: autoconf,
automake,
autotools-dev,
debhelper (>= 9),
- dkms (>> 2.2.0.2-1~),
+ dkms (>> 2.2.0.3-3~),
libtool
Standards-Version: 3.9.6
Homepage: http://www.zfsonlinux.org/
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f6e24e0
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: dkms-test
+Restrictions: needs-root, allow-stderr
+Depends: dkms
diff --git a/debian/tests/dkms-test b/debian/tests/dkms-test
new file mode 100755
index 0000000..a48a3b2
--- /dev/null
+++ b/debian/tests/dkms-test
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+cat <<EOF >/usr/local/bin/dkms
+#!/bin/sh
+set -e
+/usr/sbin/dkms --force "\$@"
+EOF
+chmod +x /usr/local/bin/dkms
+
+/usr/lib/dkms/dkms-autopkgtest
+
+rm --force /usr/local/bin/dkms
--
Solaris Porting Layer for Linux
More information about the Pkg-zfsonlinux-devel
mailing list