main - tests: tmp is used for TMPDIR
Marian Csontos <[email protected]>
| Newsgroups | gmane.linux.lvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=4cf005d3959fdee5f78948164f22a0f0aff25173 Commit: 4cf005d3959fdee5f78948164f22a0f0aff25173 Parent: 7ac5dbfd09e771f087a9467aca8a0d5905084459 Author: Marian Csontos <[email protected]> AuthorDate: Wed Jun 14 13:23:41 2023 +0200 Committer: Marian Csontos <[email protected]> CommitterDate: Wed Jun 14 13:23:41 2023 +0200 tests: tmp is used for TMPDIR Fixes tests failing due to previous commit 734d9791f817. --- test/shell/pvck-dump.sh | 4 ++-- test/shell/pvscan-autoactivate.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/shell/pvck-dump.sh b/test/shell/pvck-dump.sh index 81e164d73..76da38d3e 100644 --- a/test/shell/pvck-dump.sh +++ b/test/shell/pvck-dump.sh @@ -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 diff --git a/test/shell/pvscan-autoactivate.sh b/test/shell/pvscan-autoactivate.sh index 297ceb96d..f57473104 100644 --- a/test/shell/pvscan-autoactivate.sh +++ b/test/shell/pvscan-autoactivate.sh @@ -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 -- lvm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/lvm-devel