[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62484] [PATCH] .../tests/: use one directory name instead of "./ .
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #62484] [PATCH] .../tests/: use one directory name instead of "./ ../ ../.." in a for-loop |
Date: |
Tue, 17 May 2022 17:36:00 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62484>
Summary: [PATCH] .../tests/: use one directory name instead
of "./ ../ ../.." in a for-loop
Project: GNU troff
Submitted by: bjarniig
Submitted on: Tue 17 May 2022 09:35:58 PM UTC
Category: General
Severity: 3 - Normal
Item Group: Test
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
>From 5f92fa16c6189102dc3e3711e2a41d44da2ba1d6 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Tue, 17 May 2022 21:21:59 +0000
Subject: [PATCH] .../tests/: use one directory name instead of "./ ../ ../.."
in a for-loop
contrib/mm/tests/remove-stale-bib-entry-data.sh
src/preproc/refer/tests/report-correct-line-numbers.sh
src/roff/groff/tests/fp_should_not_traverse_directories.sh
tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
tmac/tests/pdfpic_falls-back-to-PSPIC.sh
Use the make-variable "abs_top_builddir" or "abs_top_srcdir" instead
of "rootbuild" in a loop.
When running the test files _outside_ of make, these variables must
be defined with the "export" shell command.
Partial fix of bug # 62478.
>From 5f92fa16c6189102dc3e3711e2a41d44da2ba1d6 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Tue, 17 May 2022 21:21:59 +0000
Subject: [PATCH] .../tests/: use one directory name instead of "./ ../ ../.."
in a for-loop
contrib/mm/tests/remove-stale-bib-entry-data.sh
src/preproc/refer/tests/report-correct-line-numbers.sh
src/roff/groff/tests/fp_should_not_traverse_directories.sh
tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
tmac/tests/pdfpic_falls-back-to-PSPIC.sh
Use the make-variable "abs_top_builddir" or "abs_top_srcdir" instead
of "rootbuild" in a loop.
When running the test files _outside_ of make, these variables must
be defined with the "export" shell command.
Partial fix of bug # 62478.
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
.../mm/tests/remove-stale-bib-entry-data.sh | 15 ++++++---------
.../refer/tests/report-correct-line-numbers.sh | 15 ++++++---------
.../fp_should_not_traverse_directories.sh | 15 ++++++---------
...pic_does-not-choke-on-bad-pdfinfo-output.sh | 18 ++++++++----------
tmac/tests/pdfpic_falls-back-to-PSPIC.sh | 15 ++++++---------
5 files changed, 32 insertions(+), 46 deletions(-)
The patch is in the attachment.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 17 May 2022 09:35:58 PM UTC Name:
0001-.-tests-use-one-directory-name-instead-of-.-.-.-.-in-a.txt Size: 5KiB
By: bjarniig
<http://savannah.gnu.org/bugs/download.php?file_id=53221>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62484>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62484] [PATCH] .../tests/: use one directory name instead of "./ ../ ../.." in a for-loop,
Bjarni Ingi Gislason <=