mirror of
https://codeberg.org/landley/toybox.git
synced 2026-01-26 14:13:25 +00:00
tar.test: don't test non--p behavior as root.
Fixes https://github.com/landley/toybox/issues/512.
This commit is contained in:
parent
3470a82350
commit
9b28d1ba0b
@ -424,6 +424,7 @@ touch file
|
||||
testing './file bug' 'tar c ./file > tar.tar && tar t ./file < tar.tar' \
|
||||
'./file\n' '' ''
|
||||
|
||||
skipnot [ $(id -u) -ne 0 ] # Root doesn't count.
|
||||
testing 'honor umask' \
|
||||
'umask 0022 && rm -rf dir && mkdir dir && tar xf $FILES/tar/dir.tar && stat -c%A dir dir/file' \
|
||||
'drwxr-xr-x\n-rwxr-xr-x\n' '' ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user