summaryrefslogtreecommitdiffstats
path: root/selftest
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-05-14 03:25:45 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-05-15 14:25:24 +0200
commite44a0cb0d91fb6fa543a3f6b83aae6ff5afbbcf9 (patch)
tree9fb100aacd701dc9373dbc3dcad4c7a6501f9095 /selftest
parente60df6961c0a3fc6a23e61d416fce2b6e8350340 (diff)
trial: always use abspath
No actual failure known, but using the abspath will prevent further problems when running a binary in its own run dir and passing trial paths to it. Adjust test expectations. Change-Id: Ia2ba876a42eef9122a92645edd1f28ddb56e6be3
Diffstat (limited to 'selftest')
-rw-r--r--selftest/trial_test.ok4
-rw-r--r--selftest/trial_test.ok.ign1
2 files changed, 3 insertions, 2 deletions
diff --git a/selftest/trial_test.ok b/selftest/trial_test.ok
index 66dcff0..6ad39a9 100644
--- a/selftest/trial_test.ok
+++ b/selftest/trial_test.ok
@@ -11,6 +11,6 @@ third
None
- test checksum verification
- detect wrong checksum
-ok, got RuntimeError("Checksum mismatch for 'trial_test/invalid_checksum/file2' vs. 'trial_test/invalid_checksum/checksums.md5' line 2",)
+ok, got RuntimeError("Checksum mismatch for '[PATH]/trial_test/invalid_checksum/file2' vs. '[PATH]/trial_test/invalid_checksum/checksums.md5' line 2",)
- detect missing file
-ok, got RuntimeError("File listed in checksums file but missing in trials dir: 'trial_test/missing_file/file2' vs. 'trial_test/missing_file/checksums.md5' line 2",)
+ok, got RuntimeError("File listed in checksums file but missing in trials dir: '[PATH]/trial_test/missing_file/file2' vs. '[PATH]/trial_test/missing_file/checksums.md5' line 2",)
diff --git a/selftest/trial_test.ok.ign b/selftest/trial_test.ok.ign
index 38a82ce..1a969de 100644
--- a/selftest/trial_test.ok.ign
+++ b/selftest/trial_test.ok.ign
@@ -1,2 +1,3 @@
/tmp/[^/]* [TMP]
....-..-.._..-..-.. [TIMESTAMP]
+'[^']*/trial_test '[PATH]/trial_test