|
Harald Hoyer |
89f6fa |
From 4e1f8d0c5f071e0e8270eadf73e97aa41b07cb12 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
89f6fa |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
89f6fa |
Date: Fri, 1 Aug 2014 13:15:44 +0200
|
|
Harald Hoyer |
89f6fa |
Subject: [PATCH] TEST-20-NFS: add more commands and fix client root dirs
|
|
Harald Hoyer |
89f6fa |
|
|
Harald Hoyer |
89f6fa |
---
|
|
Harald Hoyer |
89f6fa |
test/TEST-20-NFS/test.sh | 6 +++++-
|
|
Harald Hoyer |
89f6fa |
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
Harald Hoyer |
89f6fa |
|
|
Harald Hoyer |
89f6fa |
diff --git a/test/TEST-20-NFS/test.sh b/test/TEST-20-NFS/test.sh
|
|
Harald Hoyer |
89f6fa |
index 4f21d45..19bf510 100755
|
|
Harald Hoyer |
89f6fa |
--- a/test/TEST-20-NFS/test.sh
|
|
Harald Hoyer |
89f6fa |
+++ b/test/TEST-20-NFS/test.sh
|
|
Harald Hoyer |
89f6fa |
@@ -290,7 +290,7 @@ test_setup() {
|
|
Harald Hoyer |
89f6fa |
. $basedir/dracut-functions.sh
|
|
Harald Hoyer |
89f6fa |
|
|
Harald Hoyer |
89f6fa |
inst_multiple sh shutdown poweroff stty cat ps ln ip \
|
|
Harald Hoyer |
89f6fa |
- mount dmesg mkdir cp ping grep
|
|
Harald Hoyer |
89f6fa |
+ mount dmesg mkdir cp ping grep setsid ls vi /etc/virc less cat
|
|
Harald Hoyer |
89f6fa |
for _terminfodir in /lib/terminfo /etc/terminfo /usr/share/terminfo; do
|
|
Harald Hoyer |
89f6fa |
[ -f ${_terminfodir}/l/linux ] && break
|
|
Harald Hoyer |
89f6fa |
done
|
|
Harald Hoyer |
89f6fa |
@@ -301,6 +301,10 @@ test_setup() {
|
|
Harald Hoyer |
89f6fa |
cd "$initdir"
|
|
Harald Hoyer |
89f6fa |
mkdir -p dev sys proc etc run
|
|
Harald Hoyer |
89f6fa |
mkdir -p var/lib/nfs/rpc_pipefs
|
|
Harald Hoyer |
89f6fa |
+ mkdir -p root usr/bin usr/lib usr/lib64 usr/sbin
|
|
Harald Hoyer |
89f6fa |
+ for i in bin sbin lib lib64; do
|
|
Harald Hoyer |
89f6fa |
+ ln -sfnr usr/$i $i
|
|
Harald Hoyer |
89f6fa |
+ done
|
|
Harald Hoyer |
89f6fa |
)
|
|
Harald Hoyer |
89f6fa |
inst /etc/nsswitch.conf /etc/nsswitch.conf
|
|
Harald Hoyer |
89f6fa |
inst /etc/passwd /etc/passwd
|