Skip to content

Commit

Permalink
Call cat with sudo to access privileged entry
Browse files Browse the repository at this point in the history
  • Loading branch information
jellonek committed Jan 14, 2019
1 parent 1ac4126 commit 83c3db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/systemuuid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var _ = Describe("SystemUUID passing", func() {
scheduleWaitSSH(&vm, &ssh)

It("Should have particular System UUID set [Conformance]", func() {
uuid := do(framework.RunSimple(ssh, "cat", "/sys/class/dmi/id/product_uuid")).(string)
uuid := do(framework.RunSimple(ssh, "sudo", "cat", "/sys/class/dmi/id/product_uuid")).(string)
Expect(uuid).To(Equal("53008994-44C0-4017-AD44-9C49758083DA"))
})
})

0 comments on commit 83c3db9

Please sign in to comment.