accommodate ls -l implementations that print "total 0" in an empty directory ok stsp
diff --git a/regress/cmdline/rm.sh b/regress/cmdline/rm.sh
index 149f0bd..51dea1d 100755
--- a/regress/cmdline/rm.sh
+++ b/regress/cmdline/rm.sh
@@ -239,7 +239,7 @@ test_rm_directory() {
return 1
fi
- (cd $testroot/wt && ls -l > $testroot/stdout)
+ (cd $testroot/wt && ls -l | sed '/^total/d' > $testroot/stdout)
echo -n '' > $testroot/stdout.expected
@@ -251,7 +251,7 @@ test_rm_directory() {
return 1
fi
- (cd $testroot/wt && ls -l > $testroot/stdout)
+ (cd $testroot/wt && ls -l | sed '/^total/d' > $testroot/stdout)
echo -n '' > $testroot/stdout.expected