Skip to content

Commit

Permalink
Replace with hardcoded UUID (it is a special uuid)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahuls0720 committed Jun 9, 2018
1 parent 8a04933 commit 56c7d25
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions config/v2_1/types/partition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestValidateTypeGUID(t *testing.T) {
out out
}{
{
in{"$uuid35"},
in{"5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6"},
out{report.Report{}},
},
{
Expand Down Expand Up @@ -106,7 +106,7 @@ func TestValidateGUID(t *testing.T) {
out out
}{
{
in{"$uuid35"},
in{"5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6"},
out{report.Report{}},
},
{
Expand Down
4 changes: 2 additions & 2 deletions config/v2_2/types/partition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestValidateTypeGUID(t *testing.T) {
out out
}{
{
in{"$uuid35"},
in{"5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6"},
out{report.Report{}},
},
{
Expand Down Expand Up @@ -106,7 +106,7 @@ func TestValidateGUID(t *testing.T) {
out out
}{
{
in{"$uuid35"},
in{"5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6"},
out{report.Report{}},
},
{
Expand Down
4 changes: 2 additions & 2 deletions config/v2_3_experimental/types/partition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func TestValidateTypeGUID(t *testing.T) {
out out
}{
{
in{"$uuid35"},
in{"5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6"},
out{report.Report{}},
},
{
Expand Down Expand Up @@ -115,7 +115,7 @@ func TestValidateGUID(t *testing.T) {
out out
}{
{
in{"$uuid35"},
in{"5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6"},
out{report.Report{}},
},
{
Expand Down
2 changes: 1 addition & 1 deletion tests/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ func updateTypeGUID(t *testing.T, partition *types.Partition) error {
partitionTypes := map[string]string{
"coreos-resize": "3884DD41-8582-4404-B9A8-E9B84F2DF50E",
"data": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
"coreos-rootfs": "$uuid35",
"coreos-rootfs": "5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6",
"bios": "21686148-6449-6E6F-744E-656564454649",
"efi": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
"coreos-reserved": "C95DC21A-DF0E-4340-8D7B-26CBFA9A03E0",
Expand Down
8 changes: 4 additions & 4 deletions tests/positive/partitions/verification.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ func VerifyBaseDisk() types.Test {
"number": 3,
"start": 270336,
"size": 2097152,
"typeGuid": "$uuid35",
"typeGuid": "5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6",
"guid": "$uuid33"
},
{
"label": "USR-B",
"number": 4,
"start": 2367488,
"size": 2097152,
"typeGuid": "$uuid35",
"typeGuid": "5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6",
"guid": "$uuid34"
},
{
Expand Down Expand Up @@ -137,15 +137,15 @@ func VerifyBaseDiskWithWipe() types.Test {
"start": 270336,
"size": 2097152,
"wipePartitionEntry": true,
"typeGuid": "$uuid35"
"typeGuid": "5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6"
},
{
"label": "USR-B",
"number": 4,
"start": 2367488,
"size": 2097152,
"wipePartitionEntry": true,
"typeGuid": "$uuid35",
"typeGuid": "5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6",
"guid": "$uuid34"
},
{
Expand Down

0 comments on commit 56c7d25

Please sign in to comment.