4 TESTNAME="mediawiki_alt_continue_upgrade"
7 source ./mediawiki-install
11 mv "$TESTDIR/$FROB" "$TESTDIR/$FROB.bak"
12 echo "this is a bad file" > "$TESTDIR/$FROB"
14 # attempt an upgrade, this will fail
15 RESULT=`! wizard upgrade "$TESTDIR" --non-interactive`
16 TMPTESTDIR=`echo "$RESULT" | awk '{print $2}'`
19 mv -f "$TESTDIR/$FROB.bak" "$TMPTESTDIR/$FROB"
23 git commit -m "resolution commit"
25 # perform continue from the wrong directory
27 wizard upgrade --continue