# ----------------------------------------------------------------------
# snapshot settings
-test_commit \
- 'SnapshotTests' \
- 'i can has snapshot?'
+test_expect_success 'setup' "
+ test_commit 'SnapshotTests' 'i can has snapshot?'
+"
+
cat >>gitweb_config.perl <<\EOF
$feature{'snapshot'}{'override'} = 0;
# always hit the load limit
cat >>gitweb_config.perl <<\EOF
-our $maxload = 0;
+our $maxload = -1;
EOF
test_expect_success 'load checking: load too high (default action)' '