summaryrefslogtreecommitdiff
path: root/t/ax/test-init.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/ax/test-init.sh')
-rw-r--r--t/ax/test-init.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/ax/test-init.sh b/t/ax/test-init.sh
index 42db05004..daf0bba45 100644
--- a/t/ax/test-init.sh
+++ b/t/ax/test-init.sh
@@ -17,6 +17,10 @@
set -e
+# The variable '$required' should no longer be modified after this
+# file gets sources.
+required=${required-}; readonly required
+
# Source the actual code for test initialization and setup.
. test-lib.sh
. am-test-lib.sh