@@ -112,6 +112,7 @@ func TestFillDefault(t *testing.T) {
112112 RemoveDefaults : ptr .Of (false ),
113113 },
114114 NestedVirtualization : ptr .Of (false ),
115+ SuspendOnSigInt : ptr .Of (false ),
115116 Plain : ptr .Of (false ),
116117 User : User {
117118 Name : ptr .Of (user .Username ),
@@ -437,6 +438,7 @@ func TestFillDefault(t *testing.T) {
437438 BinFmt : ptr .Of (true ),
438439 },
439440 NestedVirtualization : ptr .Of (true ),
441+ SuspendOnSigInt : ptr .Of (true ),
440442 User : User {
441443 Name : ptr .Of ("xxx" ),
442444 Comment : ptr .Of ("Foo Bar" ),
@@ -474,11 +476,13 @@ func TestFillDefault(t *testing.T) {
474476 Enabled : ptr .Of (true ),
475477 BinFmt : ptr .Of (true ),
476478 }
479+ expect .SuspendOnSigInt = ptr .Of (true )
477480 } else {
478481 expect .Rosetta = Rosetta {
479482 Enabled : ptr .Of (false ),
480483 BinFmt : ptr .Of (true ),
481484 }
485+ expect .SuspendOnSigInt = ptr .Of (false )
482486 }
483487 expect .Plain = ptr .Of (false )
484488
@@ -660,6 +664,7 @@ func TestFillDefault(t *testing.T) {
660664 BinFmt : ptr .Of (false ),
661665 },
662666 NestedVirtualization : ptr .Of (false ),
667+ SuspendOnSigInt : ptr .Of (false ),
663668 User : User {
664669 Name : ptr .Of ("foo" ),
665670 Comment : ptr .Of ("foo bar baz" ),
@@ -723,6 +728,7 @@ func TestFillDefault(t *testing.T) {
723728 expect .Plain = ptr .Of (false )
724729
725730 expect .NestedVirtualization = ptr .Of (false )
731+ expect .SuspendOnSigInt = ptr .Of (false )
726732
727733 FillDefault (& y , & d , & o , filePath , false )
728734 assert .DeepEqual (t , & y , & expect , opts ... )
0 commit comments