d/tests/installed-tests: Fail on unset variable references
authorSimon McVittie <smcv@debian.org>
Sun, 29 May 2022 12:47:51 +0000 (13:47 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 2 Jun 2022 10:07:37 +0000 (11:07 +0100)
debian/tests/installed-tests

index 954d02d8ddaadd810798ec4bd6b10d54bc50cad4..8cf5ea2a89aaeaa512217220a61623f1137c8b90 100755 (executable)
@@ -2,7 +2,7 @@
 # autopkgtest check: Run the installed-tests to verify GTK works correctly
 # Based on glib2.0's d/tests/installed-tests, (C) 2013 Canonical Ltd.
 
-set -e
+set -eu
 
 # Disable gvfs if it happens to be installed. We want to test the built-in
 # stuff