path: nfs-utils_1:2.8.6-1/debian/tests/v3-mount grep "${hello}" /mnt/hello.txt pidof rpc.statd > /dev/null 2>&1 || { echo "rpc.statd isn't running after the NVSv3 mount, and it should..." exit 1 path: nfs-utils_1:2.8.6-1/debian/tests/v3-mount # stop statd if it's running, because we will check later if it # was started automatically for the NFSv3 mount as it should if pidof rpc.statd > /dev/null 2>&1; then systemctl stop rpc-statd.service > /dev/null 2>&1 || : pidof rpc.statd > /dev/null 2>&1 && { path: nfs-utils_1:2.8.6-1/debian/tests/v3-mount if pidof rpc.statd > /dev/null 2>&1; then systemctl stop rpc-statd.service > /dev/null 2>&1 || : pidof rpc.statd > /dev/null 2>&1 && { echo "couldn't kill rpc.statd before the NFSv3 test" exit 1 path: nfs-utils_1:2.8.6-1/debian/nfs-common.init if [ "$NEED_GSSD" = yes ] then if ! pidof rpc.gssd >/dev/null then echo "rpc.gssd not running" path: nfs-utils_1:2.8.6-1/debian/nfs-common.init if [ "$NEED_IDMAPD" = yes ] then if ! pidof rpc.idmapd >/dev/null then echo "rpc.idmapd not running" path: nfs-utils_1:2.8.6-1/debian/nfs-common.init if [ "$NEED_STATD" = yes ] then if ! pidof rpc.statd >/dev/null then echo "rpc.statd not running" path: nfs-utils_1:2.8.6-1/debian/changelog * Drop obsolete "cd /". * Fix syntax errors in "status" target. * In the "status" target, don't check that the output of pidof matches the pidfiles for gssd and idmapd, as they fork after start and thus get a different pid.