From: Ben Pfaff <blp@cs.stanford.edu>
Date: Sun, 2 Aug 2020 19:05:52 +0000 (+0000)
Subject: tests: Always set a paper size.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe086681a4857aafdb88e5e58e595f3b6e051013;p=pspp

tests: Always set a paper size.

Normally PSPP can find a default paper size but this isn't necessarily true
inside, e.g., a build container, so set a default to avoid test failures.
---

diff --git a/tests/atlocal.in b/tests/atlocal.in
index da9446e421..35e763ed66 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -80,3 +80,6 @@ fi
 # Enable leak suppressions for Address Sanitizer/Leak Sanitizer.
 LSAN_OPTIONS="suppressions=$abs_top_srcdir/tests/lsan.supp print_suppressions=0"
 export LSAN_OPTIONS
+
+# Avoid complaints if the system doesn't have a configured paper size.
+export PAPERSIZE=a4