Scottish League Cup holders Celtic will play Raith Rovers at home in the third round of the competition.
Mark Warburton's Rangers will be at home to holders Livingston in the last eight of the Petrofac Training Cup.
Rangers will continue their involvement in the Scottish League Cup with a second round trip to Airdrieonians.
Scott Allan came off the bench to score as Hibernian booked their place in the second round of the League Cup.
Rangers go to Ayr in the second round of the Petrofac Training Cup while holders Livingston visit Queen of the South.
A round up of Saturday's pre-season friendly matches involving Motherwell, Dundee, Hearts, St Mirren, Hibs and Aberdeen.
Jim Jefferies has resigned as manager of Scottish League One side Dunfermline.
Scottish Cup holders St Johnstone will face Queen of the South in this season's fifth round, with the Old Firm kept apart.
More of the games that matter on Sky Sports
Listen to the latest Premier League news
Download for exclusive interviews and pundit previews
All the gossip from the morning editions
Check out all the latest transfer moves