When printing a directory tree, indicate explicitly if it's empty.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 15 Dec 2006 14:21:04 +0000 (14:21 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 15 Dec 2006 14:21:04 +0000 (14:21 +0000)
src/tests/tests.pm

index 179f110a9f986d75481f18ab950545f0e18c242e..b12066640015c52def36b7e5e76bff11a758acde 100644 (file)
@@ -444,6 +444,7 @@ sub print_fs {
        }
        print "\n";
     }
+    print "(empty)\n" if !@_;
 }
 
 # normalize_fs (%FS)