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