Skip to content

Commit 60b3bbd

Browse files
committed
[WIP] Adjust a test case to avoid modifying read-only data
1 parent a5a5c9d commit 60b3bbd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/driver.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2954,13 +2954,11 @@ int main()
29542954
EOF
29552955

29562956
# global string initialization and modification
2957-
try_output 0 "Hello World!Hallo World!" << EOF
2957+
try_output 0 "Hello World!" << EOF
29582958
char *data = "Hello World!";
29592959
29602960
int main(void)
29612961
{
2962-
printf(data);
2963-
data[1] = 'a';
29642962
printf(data);
29652963
return 0;
29662964
}

0 commit comments

Comments
 (0)