1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

tests: tmp is used for TMPDIR

Fixes tests failing due to previous commit 734d9791f8.
This commit is contained in:
Marian Csontos 2023-06-14 13:23:41 +02:00
parent 7ac5dbfd09
commit 4cf005d395
2 changed files with 5 additions and 5 deletions

View File

@ -100,8 +100,8 @@ grep "zero metadata copies" m4
diff m1 m2
diff m1 m3
not diff m1 m3b > tmp
grep "metadata text at" tmp
not diff m1 m3b > out
grep "metadata text at" out
lvcreate -an -l1 $vg

View File

@ -169,9 +169,9 @@ _clear_online_files
pvscan --cache -aay "$dev3"
not ls "$RUNDIR/lvm/pvs_online/$PVID3"
lvs --foreign $vg2 > tmp
cat tmp
grep $lv2 tmp
lvs --foreign $vg2 > out
cat out
grep $lv2 out
check lv_field $vg2/$lv2 lv_active "" --foreign
fi