]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Change the testcase such that the output matches the intended output.
authorFlorian Krohm <florian@eich-krohm.de>
Sun, 1 Mar 2015 09:36:54 +0000 (09:36 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sun, 1 Mar 2015 09:36:54 +0000 (09:36 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14971

none/tests/s390x/stmg.c
none/tests/s390x/stmg.stdout.exp

index 37961ad139cfdb96d118f6c6d8d3d620225a5c21..38ec4f6d9719cf20380b3592e234782904acaeff 100644 (file)
@@ -1,4 +1,4 @@
-#include <stdio.h>
+#include <unistd.h>
 
 char base[] ="0123456789012345678901234567890123456789";
 
@@ -51,9 +51,9 @@ stmg_wrap(void)
 int main(void)
 {
    stmg_no_wrap();
-   printf("\n");
+   write(1, "\n", 1);
    stmg_wrap();
-   printf("\n");
+   write(1, "\n", 1);
 
    return 0;
 }
index 79a225e760e388f4674607f7bc56871e62571172..d7391741e1eff7577eb1d1686e7aa278d45f4195 100644 (file)
@@ -1,2 +1,2 @@
-01234567890123456789012301234567890123456789012345678901
-
+012345678901234567890123
+01234567890123456789012345678901