Blame 0072-add-af_packet-kernel-module-to-network-testsuite-tes.patch

Harald Hoyer 811c04
From 5d833a9f5bf16a5787b164b7a1f17f98cac13732 Mon Sep 17 00:00:00 2001
Harald Hoyer 811c04
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 811c04
Date: Fri, 27 Jul 2012 15:11:01 +0200
Harald Hoyer 811c04
Subject: [PATCH] add "af_packet" kernel module to network testsuite tests
Harald Hoyer 811c04
Harald Hoyer 811c04
---
Harald Hoyer 811c04
 test/TEST-20-NFS/test.sh      | 4 ++--
Harald Hoyer 811c04
 test/TEST-30-ISCSI/test.sh    | 4 ++--
Harald Hoyer 811c04
 test/TEST-40-NBD/test.sh      | 4 ++--
Harald Hoyer 811c04
 test/TEST-50-MULTINIC/test.sh | 4 ++--
Harald Hoyer 811c04
 4 files changed, 8 insertions(+), 8 deletions(-)
Harald Hoyer 811c04
Harald Hoyer 811c04
diff --git a/test/TEST-20-NFS/test.sh b/test/TEST-20-NFS/test.sh
Harald Hoyer 811c04
index a44f6c0..c7ccc09 100755
Harald Hoyer 811c04
--- a/test/TEST-20-NFS/test.sh
Harald Hoyer 811c04
+++ b/test/TEST-20-NFS/test.sh
Harald Hoyer 811c04
@@ -336,14 +336,14 @@ test_setup() {
Harald Hoyer 811c04
     # Make server's dracut image
Harald Hoyer 811c04
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
Harald Hoyer 811c04
 	-m "dash udev-rules base rootfs-block debug kernel-modules watchdog" \
Harald Hoyer 811c04
-	-d "piix ide-gd_mod ata_piix ext3 sd_mod e1000 ib700wdt" \
Harald Hoyer 811c04
+	-d "af_packet piix ide-gd_mod ata_piix ext3 sd_mod e1000 ib700wdt" \
Harald Hoyer 811c04
 	-f $TESTDIR/initramfs.server $KVERSION || return 1
Harald Hoyer 811c04
 
Harald Hoyer 811c04
     # Make client's dracut image
Harald Hoyer 811c04
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
Harald Hoyer 811c04
 	-o "plymouth" \
Harald Hoyer 811c04
 	-a "debug watchdog" \
Harald Hoyer 811c04
-	-d "piix ide-gd_mod ata_piix sd_mod e1000 nfs sunrpc ib700wdt" \
Harald Hoyer 811c04
+	-d "af_packet piix ide-gd_mod ata_piix sd_mod e1000 nfs sunrpc ib700wdt" \
Harald Hoyer 811c04
 	-f $TESTDIR/initramfs.testing $KVERSION || return 1
Harald Hoyer 811c04
 }
Harald Hoyer 811c04
 
Harald Hoyer 811c04
diff --git a/test/TEST-30-ISCSI/test.sh b/test/TEST-30-ISCSI/test.sh
Harald Hoyer 811c04
index 1b1924b..c3d2c39 100755
Harald Hoyer 811c04
--- a/test/TEST-30-ISCSI/test.sh
Harald Hoyer 811c04
+++ b/test/TEST-30-ISCSI/test.sh
Harald Hoyer 811c04
@@ -162,7 +162,7 @@ test_setup() {
Harald Hoyer 811c04
     sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
Harald Hoyer 811c04
         -o "plymouth dmraid" \
Harald Hoyer 811c04
         -a "debug" \
Harald Hoyer 811c04
-        -d "piix ide-gd_mod ata_piix ext3 sd_mod" \
Harald Hoyer 811c04
+        -d "af_packet piix ide-gd_mod ata_piix ext3 sd_mod" \
Harald Hoyer 811c04
         -f $TESTDIR/initramfs.testing $KVERSION || return 1
Harald Hoyer 811c04
 
Harald Hoyer 811c04
     # Make server root
Harald Hoyer 811c04
@@ -211,7 +211,7 @@ test_setup() {
Harald Hoyer 811c04
     # Make server's dracut image
Harald Hoyer 811c04
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
Harald Hoyer 811c04
         -m "dash udev-rules base rootfs-block debug kernel-modules" \
Harald Hoyer 811c04
-        -d "piix ide-gd_mod ata_piix ext3 sd_mod e1000" \
Harald Hoyer 811c04
+        -d "af_packet piix ide-gd_mod ata_piix ext3 sd_mod e1000" \
Harald Hoyer 811c04
         -f $TESTDIR/initramfs.server $KVERSION || return 1
Harald Hoyer 811c04
 
Harald Hoyer 811c04
 }
Harald Hoyer 811c04
diff --git a/test/TEST-40-NBD/test.sh b/test/TEST-40-NBD/test.sh
Harald Hoyer 811c04
index 94efb8a..99d930f 100755
Harald Hoyer 811c04
--- a/test/TEST-40-NBD/test.sh
Harald Hoyer 811c04
+++ b/test/TEST-40-NBD/test.sh
Harald Hoyer 811c04
@@ -333,13 +333,13 @@ test_setup() {
Harald Hoyer 811c04
 
Harald Hoyer 811c04
     sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
Harald Hoyer 811c04
 	-m "dash udev-rules rootfs-block base debug kernel-modules" \
Harald Hoyer 811c04
-	-d "piix ide-gd_mod ata_piix ext2 ext3 sd_mod e1000" \
Harald Hoyer 811c04
+	-d "af_packet piix ide-gd_mod ata_piix ext2 ext3 sd_mod e1000" \
Harald Hoyer 811c04
 	-f $TESTDIR/initramfs.server $KVERSION || return 1
Harald Hoyer 811c04
 
Harald Hoyer 811c04
     sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
Harald Hoyer 811c04
 	-o "plymouth" \
Harald Hoyer 811c04
 	-a "debug watchdog" \
Harald Hoyer 811c04
-	-d "piix ide-gd_mod ata_piix ext2 ext3 sd_mod e1000 ib700wdt" \
Harald Hoyer 811c04
+	-d "af_packet piix ide-gd_mod ata_piix ext2 ext3 sd_mod e1000 ib700wdt" \
Harald Hoyer 811c04
 	-f $TESTDIR/initramfs.testing $KVERSION || return 1
Harald Hoyer 811c04
 }
Harald Hoyer 811c04
 
Harald Hoyer 811c04
diff --git a/test/TEST-50-MULTINIC/test.sh b/test/TEST-50-MULTINIC/test.sh
Harald Hoyer 811c04
index 74f10d8..2125b8e 100755
Harald Hoyer 811c04
--- a/test/TEST-50-MULTINIC/test.sh
Harald Hoyer 811c04
+++ b/test/TEST-50-MULTINIC/test.sh
Harald Hoyer 811c04
@@ -246,14 +246,14 @@ test_setup() {
Harald Hoyer 811c04
     # Make server's dracut image
Harald Hoyer 811c04
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
Harald Hoyer 811c04
         -m "dash udev-rules base rootfs-block debug kernel-modules watchdog" \
Harald Hoyer 811c04
-        -d "piix ide-gd_mod ata_piix ext3 sd_mod e1000 ib700wdt" \
Harald Hoyer 811c04
+        -d "af_packet piix ide-gd_mod ata_piix ext3 sd_mod e1000 ib700wdt" \
Harald Hoyer 811c04
         -f $TESTDIR/initramfs.server $KVERSION || return 1
Harald Hoyer 811c04
 
Harald Hoyer 811c04
     # Make client's dracut image
Harald Hoyer 811c04
     $basedir/dracut.sh -l -i $TESTDIR/overlay / \
Harald Hoyer 811c04
         -o "plymouth" \
Harald Hoyer 811c04
         -a "debug" \
Harald Hoyer 811c04
-        -d "piix sd_mod sr_mod ata_piix ide-gd_mod e1000 nfs sunrpc ib700wdt" \
Harald Hoyer 811c04
+        -d "af_packet piix sd_mod sr_mod ata_piix ide-gd_mod e1000 nfs sunrpc ib700wdt" \
Harald Hoyer 811c04
         -f $TESTDIR/initramfs.testing $KVERSION || return 1
Harald Hoyer 811c04
 }
Harald Hoyer 811c04