Index: uspace/app/tester/vfs/vfs1.c
===================================================================
--- uspace/app/tester/vfs/vfs1.c	(revision acfdcb03f3a5a54fddb81d5f3ec4ac26041a6261)
+++ uspace/app/tester/vfs/vfs1.c	(revision 75c426b4f00b6c7154cd6d7a5c14dcbcf7d0fde9)
@@ -81,10 +81,37 @@
 		printf("read %d bytes: \"%.*s\", fd=%d\n", cnt, cnt, buf, fd0);
 
+	close(fd0);
+
 	DIR *dirp;
 	struct dirent *dp;
 
+	if (!quiet)
+		printf("scanning the root directory...\n");
+
 	dirp = opendir("/");
 	if (!dirp)
-		return "opendir() failed.";
+		return "opendir() failed\n";
+	while ((dp = readdir(dirp)))
+		printf("discovered node %s in /\n", dp->d_name);
+	closedir(dirp);
+
+	if (unlink("/mydir/myfile"))
+		return "unlink() failed.\n";
+	
+	if (!quiet)
+		printf("unlinked file /mydir/myfile\n");
+
+	if (rmdir("/mydir"))
+		return "rmdir() failed.\n";
+
+	if (!quiet)
+		printf("removed directory /mydir\n");
+	
+	if (!quiet)
+		printf("scanning the root directory...\n");
+
+	dirp = opendir("/");
+	if (!dirp)
+		return "opendir() failed\n";
 	while ((dp = readdir(dirp)))
 		printf("discovered node %s in /\n", dp->d_name);
