summaryrefslogtreecommitdiff
path: root/tests/rebuild-cached-stratum.script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rebuild-cached-stratum.script')
-rwxr-xr-xtests/rebuild-cached-stratum.script17
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/rebuild-cached-stratum.script b/tests/rebuild-cached-stratum.script
index 2615fb30..70cc54cf 100755
--- a/tests/rebuild-cached-stratum.script
+++ b/tests/rebuild-cached-stratum.script
@@ -1,25 +1,26 @@
#!/bin/sh
#
-# Does a cached stratum get rebuilt if its chunk changes?
-# This tests a bug that is currently in morph, where the stratum does
-# not get rebuilt in that case. Later on, the test will guard against
-# regressions.
-#
# Copyright (C) 2011, 2012 Codethink Limited
-#
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+## Does a cached stratum get rebuilt if its chunk changes?
+## This tests a bug that is currently in morph, where the stratum does
+## not get rebuilt in that case. Later on, the test will guard against
+## regressions.
+
set -eu
cache="$DATADIR/cache/artifacts"