Blame tests/p_autofs/10-autofs-nfs-mount.sh
|
Christoph Galuschka |
8366ce |
#!/bin/sh
|
|
Christoph Galuschka |
8366ce |
# Author: Christoph Galuschka <tigalch@tigalch.org>
|
|
Christoph Galuschka |
8366ce |
|
|
Christoph Galuschka |
8366ce |
t_Log "Running $0 - autofs can mount nfs share test."
|
|
Christoph Galuschka |
8366ce |
|
|
Christoph Galuschka |
8366ce |
t_Log 'Preparing autofs configuration'
|
|
Christoph Galuschka |
8366ce |
cp -a /etc/auto.master /etc/auto.master_orig
|
|
Christoph Galuschka |
8366ce |
cat '/autofs /etc/auto.autofs' >> /etc/auto.master
|
|
Christoph Galuschka |
8366ce |
cat 'nfs -fstype=nfs 127.0.0.1:/var/lib' > /etc/auto.autofs
|
|
Christoph Galuschka |
8366ce |
|
|
Christoph Galuschka |
8366ce |
t_ServiceControl autofs start
|
|
Christoph Galuschka |
8366ce |
|
|
Christoph Galuschka |
8366ce |
t_Log 'Running test'
|
|
Christoph Galuschka |
8366ce |
|
|
Christoph Galuschka |
8366ce |
grep yum /autofs/nfs/
|
|
Christoph Galuschka |
8366ce |
#t_CheckExitStatus $ret_val
|