Skip to content
Snippets Groups Projects
Commit bca685c7 authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=12942

i=Nathan
i=Brian

Check /proc/mounts instead of mtab.
parent 24bf8c39
No related branches found
No related tags found
No related merge requests found
......@@ -231,8 +231,8 @@ test_5() {
kill -TERM $UMOUNT_PID
echo "waiting for umount to finish"
wait $UMOUNT_PID
if grep " $MOUNT " /etc/mtab; then
echo "test 5: mtab after failed umount"
if grep " $MOUNT " /proc/mounts; then
echo "test 5: /proc/mounts after failed umount"
umount $MOUNT &
UMOUNT_PID=$!
sleep 2
......@@ -240,7 +240,7 @@ test_5() {
kill -TERM $UMOUNT_PID
echo "waiting for umount to finish"
wait $UMOUNT_PID
grep " $MOUNT " /etc/mtab && echo "test 5: mtab after second umount" && return 11
grep " $MOUNT " /proc/mounts && echo "test 5: /proc/mounts after second umount" && return 11
fi
manual_umount_client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment