blob: 9841a139f5325c0d2a63a634a576fcdc2b91d237 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/sh
# Copyright (c) 2006 Red Hat, Inc. All rights reserved. This copyrighted material
# is made available to anyone wishing to use, modify, copy, or
# redistribute it subject to the terms and conditions of the GNU General
# Public License v.2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Author: Bill Peck <bpeck@redhat.com>
# Source the common test script helpers
. /usr/bin/rhts_environment.sh
make -C module0
make -C module1
make -C module2
cp module0/module0.ko /lib/modules/$(uname -r)
cp module1/module1.ko /lib/modules/$(uname -r)
cp module2/module2.ko /lib/modules/$(uname -r)
depmod -a
modprobe module0
report_result "${TEST}" "PASS"
|