We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc97d5a commit 4d6e261Copy full SHA for 4d6e261
test/test-ghe-backup.sh
@@ -230,7 +230,7 @@ begin_test "ghe-backup tarball strategy"
230
)
231
end_test
232
233
-begin_test "ghe-backup fails fast when other run in progress"
+begin_test "ghe-backup fails fast when old style run in progress"
234
(
235
set -e
236
@@ -241,6 +241,18 @@ begin_test "ghe-backup fails fast when other run in progress"
241
242
243
244
+begin_test "ghe-backup cleans up stale in-progress file"
245
+(
246
+ set -e
247
+
248
+ echo "20150928T153353 99999" > "$GHE_DATA_DIR/in-progress"
249
+ ghe-backup
250
251
+ [ ! -f "$GHE_DATA_DIR/in-progress" ]
252
+)
253
+end_test
254
255
256
begin_test "ghe-backup without manage-password file"
257
258
0 commit comments