commit 6b36edd809ff151ee866ec81cd007767d76cf778 from: Christian Weisgerber date: Sat Oct 03 19:15:22 2020 UTC accommodate ls -l implementations that print "total 0" in an empty directory ok stsp commit - 6c8da0c69eacfa9be3899f93eb7b1e78bd5533f1 commit + 6b36edd809ff151ee866ec81cd007767d76cf778 blob - 149f0bdc3cc44d53a90d7d467740210e86263f89 blob + 51dea1da6173dd6abe8666612459b839ee497013 --- regress/cmdline/rm.sh +++ 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