aboutsummaryrefslogtreecommitdiffstats
path: root/prog/mutation_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/mutation_test.go')
-rw-r--r--prog/mutation_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/prog/mutation_test.go b/prog/mutation_test.go
index 3b254bf48..21f0261dd 100644
--- a/prog/mutation_test.go
+++ b/prog/mutation_test.go
@@ -137,6 +137,12 @@ mutate3(&(0x7f0000000000)=[0x1, 0x1], 0x2)
mmap(&(0x7f0000000000/0x1000)=nil, 0x1000)
mutate3(&(0x7f0000000000)=[0x1, 0x1, 0x1], 0x3)
`},
+ // Mutate size from it's natural value.
+ {`
+mutate7(&(0x7f0000000000)='123', 0x3)
+`, `
+mutate7(&(0x7f0000000000)='123', 0x2)
+`},
}
for ti, test := range tests {
test := test