Result from Murrayfield.
SCOTLAND: 18
Tries: Hogg, Di Rollo
Cons: Paterson Pens: Paterson 2
SAMOA: 11
Tries: Al. Tuilagi
Pens: Warren 2
Scores and major incidents: (all times GMT)
Full-time: Scotland 18-11 Samoa
Scotland escape with the win after being made to work hard throughout.
74 mins: TRY Scotland 18-11 Samoa
Some good Scottish handling and a half-break from the dynamic Sean Lamont sends Marcus Di Rollo in for the second try. Chris Paterson converts from wide on the left.
70 mins: Kelly Brown replaces skipper Jason White for Scotland.
68 mins: PENALTY Scotland 11-11 Samoa
Roger Warren levels the score for Samoa.
63 mins: Samoa's Roger Warren misses a long-range penalty effort in front of the posts.
61 mins: Scotland half-backs Chris Cusiter and Dan Parks are replaced by Mike Blair and Phil Godman respectively.
56 mins: PENALTY Scotland 11-8 Samoa
Chris Paterson passes the 400 points mark to become Scotland's second highest scorer, behind Gavin Hastings.
51 mins: The home side go close again when Sean Lamont's break sparks a series of probes, ending with Jason White getting bundled into touch yards short of the left corner.
46 mins: Scotland think they've scored when Rory Lamont rounds off some good movement down the line, but the whistle goes for a forward pass. Lamont is poleaxed on the ground after a late challenge but gets up eventually.
42 mins: Scotland are penalised for lifting a Samoan leg in a ruck but Roger Warren misses the kick.
41 mins: Roger Warren kicks off the second half for Samoa.
Half-time: Scotland 8-8 Samoa
34 mins: Samoan number 10 Tanner Vili wriggles through and sets off on a dangerous break. The ball is fed wide to the right but centre Anitelia Tuilagi decides to kick-on instead of passing and the ball bounces into touch.
31 mins: Samoa's Iosefa Taina is sin-binned for killing the ball.
25 mins: PENALTY Scotland 8-8 Samoa
Samoa infringe at a ruck and Chris Paterson levels the score.
23 mins: PENALTY Scotland 5-8 Samoa
Samoan full-back Roger Warren strokes a penalty.
21 mins: Samoa's Alesana Tuilagi gathers a Scottish cross-kick and slices through the home defence. Unluckily, his chip-on bounces back off the posts and the attack perishes for the time being.
18 mins: TRY Scotland 5-5 Samoa
The Scots spurn a series of kickable penalties in search of the try. Eventually the pack rumbles over and number eight Ali Hogg claims the score. Chris Paterson misses the conversion.
13 mins: Scotland captain Jason White is dragged down by his neck but Cencus Johnston gets away with a talking to.
11 mins: Scotland go for touch in the right corner with their first penalty but as the ball is fed left down the line from the line-out, the move fizzles out.
5 mins: TRY Scotland 0-5 Samoa
Samoa opt to kick their first penalty to touch in the corner, and from a little chip over the top of the advancing Scots, Leicester's Alesana Tuilagi touches down. Cardiff's Roger Warren misses the conversion.
3 mins: Scotland begin on the front foot and make efforts to spread the ball fast and wide at the earliest opportunity. Samoa's defence is typically robust.
1500: Scotland are playing in white - with Samoa in royal blue - as fly-half Dan Parks gets the game underway.
1458: The Samoan anthem rings out before Flower of Scotland, accompanied by a massed band of pipers, but very few fans. Samoa then perform their version of the Haka.
1452: Samoa captain Semo Sititi leads his side out into an echoing Murrayfield, barely a third full.
Several minutes later, Scotland run out to fireworks and a fanfare.