nfs03.sh: Wait for all files to be removed

A race condition between the two parallel calls of rm_files may cause
NFS unmount to fail and then the NFS client will get confused by remote
filesystem change which leads to strange failures. Make sure both
rm_files calls finish before returning from the main test function.

Reviewed-by: Petr Vorel <pvorel@suse.cz>
Reviewed-by: Richard Palethorpe <rpalethorpe@suse.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Martin Doucha <mdoucha@suse.cz>
diff --git a/testcases/network/nfs/nfs_stress/nfs03.sh b/testcases/network/nfs/nfs_stress/nfs03.sh
index e5f4de6..e9ef5fb 100755
--- a/testcases/network/nfs/nfs_stress/nfs03.sh
+++ b/testcases/network/nfs/nfs_stress/nfs03.sh
@@ -66,11 +66,13 @@
 	cd ../dir1
 	wait $pid1
 	rm_files &
+	pid3=$!
 
 	tst_res TINFO "cd dir2 & removing files"
 	cd ../dir2
 	wait $pid2
 	rm_files
+	wait $pid3
 
 	tst_res TPASS "test done"
 }