Australia clinched a seven-wicket victory over Bangladesh in their final five-day match before the Ashes as Nathan Lyon became the first Aussie to take 13 wickets in a Test in Asia.
Australia win by seven wickets
Australia 1st inns: 377 (119.5 overs. Warner 123, Handscomb 82, Smith 58; Mehedi 3-93, Mustafizur 4-84)
Bangladesh 1st inns: 305 (113.2 overs. Mushfiqur Rahim 68, Sabbir Rahman 66; Lyon 7-94, Agar 2-52)
Bangladesh 2nd inns: 157 (71.2 overs. Mushfiqur 31, Mominul 29; Lyon 6-60)
Australia 2nd inns: 87-3 (15.3 overs. Maxwell 25*, Renshaw 22)
Australia clinched a seven-wicket victory over Bangladesh in their final five-day match before the Ashes as Nathan Lyon became the first Aussie to take 13 wickets in a Test in Asia.
Bangladesh's first ever Test win over Australia last week, which came a day after West Indies' stunning success over England at Headingley, raised the possibility of Steve Smith's team heading into the Ashes on the back of an embarrassing series loss to the side ranked ninth in the world.
However, spinner Lyon's match figures of 13 for 154 ensured Australia needed just 86 to win, a total they achieved before the end of the fourth day despite losing three wickets to level the two-match series.
At the start of the day, Australia resumed on 377 for nine, a first-innings lead of 72, and lost last man Lyon in the second over of the day without adding to that score.
Their deficit was down to 61 by the time Soumya Sarkar (nine) was caught in the slips by Matt Renshaw off Pat Cummins' bowling and Australia soon wrestled control when the hosts went from 31 for one to 43 for five.
Tamim Iqbal (12) was stumped to become Lyon's first victim, Imrul Kayes (15) fell to the same bowler when caught at cover and Shakib Al Hasan had made just two before he edged to David Warner to became Lyon's 10th wicket of the match.
Steve O'Keefe got in on the act by coaxing Nasir Hossain (five) into nicking to Smith and though Bangladesh moved into the lead before lunch, the tourists returned needing just five wickets to dismiss them.
Sabbir Rahman and Mushfiqur Rahim put on 54 for the sixth wicket but the former fell on 24 to another stumping off Lyon, who had 20 wickets in the series at that point.
Mushfiqur (31) was caught behind off Cummins and once Mominul Haque (29) became Lyon's fifth victim, the tail was swiftly finished off after tea as Bangladesh were bowled out for 157.
Lyon, currently the leading Test wicket taker in 2017, finished with six for 60 to go with his first-innings haul of seven for 94.
Australia reached their target inside 16 overs, though Renshaw (22), Warner (eight) and Smith (16) were all dismissed before they did so, with Glenn Maxwell's 17-ball unbeaten 25, which included two maximums - the second of which sealed victory - seeing them home.
David Warner's second successive hundred against Bangladesh helped Australia maintain their slight advantage on the third day of the second and final Test.
After heavy rain washed out more than a session of the day's play, Australia eclipsed Bangladesh's first-innings total of 305 by tea before the hosts retaliated in the final session to reduce the tourists to 377-9 - a lead of 72.
When Sky Bet's 8/13 favourites Australia resumed on 225-2, overnight batsmen Warner and Peter Handscomb shared a 152-run partnership.
Handscomb ran himself out in his eagerness to help Warner reach the 100 mark when he sprinted for a single only to be sent back - a desperate dive not enough to beat Shakib Al Hasan's direct throw from square leg.
Warner brought up his 20th Test century with his fifth boundary, driving a Nasir Hossain full toss through cover.
The century followed Warner's 112 in the first test in Dhaka where Australia were beaten inside four days by the hosts.
Bangladesh, who are 13/2 to win the match and secure a 2-0 win, took the new ball as soon as it was available and Mustafizur Rahman nearly tasted immediate success when he induced a lazy drive from Glenn Maxwell, but Mehidy Hasan spilled the catch at gully.
Mustafizur dismissed Warner for 123 with a short-pitched ball which the batsman hit to leg slip where Imrul Kayes fumbled before finally taking the catch.
Warner hit only seven boundaries in his cultured knock, painstakingly constructed over six hours.
Mehidy dropped Hilton Cartwright on six off his own bowling, the straight drive bursting through the spinner's hands and hitting him in the rib cage. Cartwright made 18 before edging the spinner to Soumya Sarkar in the slip.
Maxwell, who lived dangerously at the other end, made 38 while Matthew Wade managed eight. Ashton Agar made 22 down the order.
Bangladesh claimed four wickets in the 23-over final session to stay in the contest. Mustafizur, celebrating his 22nd birthday, claimed (3-84) and off-spinner Mehidy (3-93) shared six wickets.
David Warner led Australia's impressive reply on day two of the second Test against Bangladesh at Chittagong.
The opener struck 88 not out as the Aussies, looking to level the series after last week's surprise defeat in Mirpur, closed in on Bangladesh's first-innings total of 305.
Australia are now odds-on favourites at 8/11 with Sky Bet to claim victory. Bangladesh can be backed at 8/1 and the draw is on offer at 100/30.
Warner was ably assisted by captain Steve Smith, who looked well set for a possible 21st Test century until he played round a straight one from Taijul Islam on 58.
Peter Handscomb then continued where Smith had left off with an unbeaten 69 despite appearing to struggle with the heat as stumps approached.
Their stand of 127 ensured Australia closed on 225 for two to trail the hosts by 80 runs with eight wickets remaining.
Earlier, Bangladesh captain Mushfiqur Rahim added just six runs to his overnight 62 not out but Nasir Hossain hit 45 to help them past 300.
Spinner Nathan Lyon wrapped up the innings when he removed Taijul to finish with figures of seven for 94.
Bangladesh are 6/5 for another victory over Australia after captain Mushfiqur Rahim and Sabbir Rahman dug in to frustrate the tourists on the opening day of the second Test in Chittagong.
The pair put on 105 for the sixth wicket after Australia, looking to level the series after last week's surprise loss in Dhaka, had made a fine start.
Nathan Lyon (five for 77) claimed four early wickets as Bangladesh slipped to 117 for five but Mushfiqur (62 not out) and Sabbir (66) lifted them to 253 for six at the close.
Australia put their faith in spinners, selecting three of them in Lyon, Steve O'Keefe and Ashton Agar, and just one specialist seamer in Pat Cummins.
Lyon took the new ball and made an immediate impact, trapping Tamim Iqbal, Imrul Kayes, Soumyar Sarkar and Mominul Haque leg before.
When Agar had Shakib Al Hasan caught behind by Matthew Wade, the tourists were well on top but they were unable to build on that advantage.
Mushfiqur held firm while Sabbir played fluently before Lyon, who bowled 28 of the day's 90 overs, had him stumped by Wade to become his fifth victim.
Mushfiqur will resume on day two alongside Nasir Hossain, who was unbeaten on 19.