We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee189ce commit 4caccdaCopy full SHA for 4caccda
1 file changed
test/test-ghe-backup.sh
@@ -251,3 +251,16 @@ begin_test "ghe-backup without manage-password file"
251
[ ! -f "$GHE_DATA_DIR/current/manage-password" ]
252
)
253
end_test
254
+
255
+begin_test "ghe-backup emtpy hookshot directory"
256
+(
257
+ set -e
258
259
+ rm -rf $GHE_REMOTE_DATA_USER_DIR/hookshot/repository-*
260
+ rm -rf $GHE_DATA_DIR/current/hookshot/repository-*
261
+ ghe-backup
262
263
+ # Check that the "--link-dest arg does not exist" message hasn't occurred.
264
+ [ ! "$(grep "[l]ink-dest arg does not exist" $TRASHDIR/out)" ]
265
+)
266
+end_test
0 commit comments