1
0
Forkuj 0
kopia lustrzana git://git.gnupg.org/gnupg.git zsynchronizowano 2025-07-02 22:46:30 +02:00

tests: Locate resources and scripts relative to top source dir.

--

Locate every resource and every script used in the tests using a path
relative to the top of the source tree.

This is a purely mechanical change, mostly done using regular
expressions, with a few manual fixups here and there.

Signed-off-by: Justus Winter <justus@g10code.com>
Ten commit jest zawarty w:
Justus Winter 2017-03-22 12:40:42 +01:00
rodzic f03d6897be
commit ed4d23d75e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD1A52F9DA8C9020
87 zmienionych plików z 208 dodań i 182 usunięć

Wyświetl plik

@ -17,7 +17,7 @@
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, see <http://www.gnu.org/licenses/>.
(load (with-path "defs.scm"))
(load (in-srcdir "tests" "openpgp" "defs.scm"))
(setup-legacy-environment)
(for-each-p
@ -33,7 +33,8 @@
(info "Checking bug 537: MDC problem with old style compressed packets.")
(lettmp (tmp)
(call-popen `(,@GPG --yes --passphrase-fd "0"
--output ,tmp --decrypt ,(in-srcdir "bug537-test.data.asc"))
--output ,tmp --decrypt ,(in-srcdir "tests" "openpgp"
"bug537-test.data.asc"))
usrpass1)
(if (not (string=? "4336AE2A528FAE091E73E59E325B588FEE795F9B"
(cadar (gpg-hash-string `(--print-md SHA1 ,tmp) ""))))