If the test filesystem has a posix1e ACL, coreutils ls -l (at least)
will add a final +. From the ls info pages:
A file with any other combination of alternate access methods is
marked with a ‘+’ character.
See also:
3733607767b727185052b35194430e4b94e7c157
test-empty-metadata: allow a trailing dot in ls -l perms
Signed-off-by: Rob Browning <
r...@defaultvalue.org>
Tested-by: Rob Browning <
r...@defaultvalue.org>
---
test/ext/test-empty-metadata | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/ext/test-empty-metadata b/test/ext/test-empty-metadata
index 903ba28e..23dd0ef8 100755
--- a/test/ext/test-empty-metadata
+++ b/test/ext/test-empty-metadata
@@ -51,9 +51,9 @@ umask 0
WVPASS bup restore -C restore/ src/latest/
WVPASS cd restore
wv-match-rx "$(ls -l | cut -d' ' -f1 | tail -n +2)" \
-'-rw-------\.?
--rw-r--r--\.?
--rw-------\.?'
+'-rw-------[.+]?
+-rw-r--r--[.+]?
+-rw-------[.+]?'
WVPASS cd ..
umask "$um"
WVPASS rm -rf restore
--
2.47.3