aboutsummaryrefslogtreecommitdiffstats
path: root/tests/migrations/from-classic.scm
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-03-22 11:40:42 +0000
committerJustus Winter <[email protected]>2017-04-24 12:14:05 +0000
commited4d23d75e8ba89e998b88a4f862661c81f665a3 (patch)
tree7e956da634802ab2d802f5e5d9e208932d606926 /tests/migrations/from-classic.scm
parentgpgscm: Move 'trace' and 'stringify'. (diff)
downloadgnupg-ed4d23d75e8ba89e998b88a4f862661c81f665a3.tar.gz
gnupg-ed4d23d75e8ba89e998b88a4f862661c81f665a3.zip
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 <[email protected]>
Diffstat (limited to 'tests/migrations/from-classic.scm')
-rwxr-xr-xtests/migrations/from-classic.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/migrations/from-classic.scm b/tests/migrations/from-classic.scm
index ace458e22..b473d702a 100755
--- a/tests/migrations/from-classic.scm
+++ b/tests/migrations/from-classic.scm
@@ -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 "common.scm"))
+(load (in-srcdir "tests" "migrations" "common.scm"))
(catch (skip "gpgtar not built")
(call-check `(,GPGTAR --help)))
@@ -37,14 +37,14 @@
(run-test
"Testing a clean migration ..."
- (in-srcdir "from-classic.tar.asc")
+ (in-srcdir "tests" "migrations" "from-classic.tar.asc")
(lambda (gpghome)
(trigger-migration)
(assert-migrated)))
(run-test
"Testing a migration with existing private-keys-v1.d ..."
- (in-srcdir "from-classic.tar.asc")
+ (in-srcdir "tests" "migrations" "from-classic.tar.asc")
(lambda (gpghome)
(mkdir "private-keys-v1.d" "-rwx")
(trigger-migration)
@@ -52,7 +52,7 @@
(run-test
"Testing a migration with existing but weird private-keys-v1.d ..."
- (in-srcdir "from-classic.tar.asc")
+ (in-srcdir "tests" "migrations" "from-classic.tar.asc")
(lambda (gpghome)
(mkdir "private-keys-v1.d" "")
(trigger-migration)