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 839e442 commit 4982667Copy full SHA for 4982667
test/test-ghe-restore.sh
@@ -506,7 +506,7 @@ begin_test "ghe-restore cluster backup to non-cluster appliance"
506
mkdir -p "$GHE_REMOTE_DATA_USER_DIR/repositories"
507
508
echo "cluster" > "$GHE_DATA_DIR/current/strategy"
509
- output=$(ghe-restore -v -f localhost 2>&1) || true
+ ! output=$(ghe-restore -v -f localhost 2>&1)
510
511
echo $output | grep -q "Snapshot from a GitHub Enterprise cluster cannot be restored"
512
)
0 commit comments