Commit c2ddd48f authored by Milan Broz's avatar Milan Broz

Avoid tar archive warnings if tests are run as superuser.

parent eb8ff735
Pipeline #1996106 skipped
......@@ -61,7 +61,7 @@ if [ $(id -u) != 0 ]; then
fi
test_required
[ ! -d $TST_DIR ] && tar xjf luks1-images.tar.bz2
[ ! -d $TST_DIR ] && tar xjf luks1-images.tar.bz2 --no-same-owner
echo "ACTIVATION FS UUID CHECK"
for file in $(ls $TST_DIR/luks1_*) ; do
......
......@@ -67,7 +67,7 @@ function test_required()
test_required
export LANG=C
[ ! -d $TST_DIR ] && tar xjf tcrypt-images.tar.bz2
[ ! -d $TST_DIR ] && tar xjf tcrypt-images.tar.bz2 --no-same-owner
echo "HEADER CHECK"
for file in $(ls $TST_DIR/[tv]c_*) ; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment