[hackers] [scc] Fix tests that use strings || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 20 Jan 2016 16:02:22 +0100 (CET)

commit f9a9c99baffaf19ec52260e79eaf1b0cd76940c4
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Jan 20 10:51:21 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Jan 20 10:51:21 2016 +0100

    Fix tests that use strings
    
    Trailing 0 is added to strings now, so these tests must be updated.

diff --git a/cc1/tests/test001.c b/cc1/tests/test001.c
index d319c5d..bfd79ac 100644
--- a/cc1/tests/test001.c
+++ b/cc1/tests/test001.c
_AT_@ -10,7 +10,7 @@ F5 I
 G6 F5 main
 {
 \
- X4 "68656C6C6F20776F726C640A 'P pP cI
+ X4 "68656C6C6F20776F726C640A00 'P pP cI
         r #I0
 }
 
diff --git a/cc1/tests/test026.c b/cc1/tests/test026.c
index 5ce4e8f..c77b3af 100644
--- a/cc1/tests/test026.c
+++ b/cc1/tests/test026.c
_AT_@ -11,7 +11,7 @@ G3 F2 main
 \
 A4 I y
 A6 P p
- A6 "746573743032362E63 'P :P
+ A6 "746573743032362E6300 'P :P
         A4 #I21 :I
         A4 #I1 :I
         A4 #I1 :I
diff --git a/cc1/tests/test027.c b/cc1/tests/test027.c
index 5491c49..da5e5e9 100644
--- a/cc1/tests/test027.c
+++ b/cc1/tests/test027.c
_AT_@ -10,7 +10,7 @@ G3 F2 main
 {
 \
 A5 P p
- A5 "68656C6C6F20697320626574746572207468616E20627965 'P :P
+ A5 "68656C6C6F20697320626574746572207468616E2062796500 'P :P
         r A5 _AT_K gI
 }
 
diff --git a/cc1/tests/test028.c b/cc1/tests/test028.c
index e62f305..ccaef40 100644
--- a/cc1/tests/test028.c
+++ b/cc1/tests/test028.c
_AT_@ -9,7 +9,7 @@ F5 P
 G6 F5 foo
 {
 \
- r "6869 'P
+ r "686900 'P
 }
 
 */
diff --git a/cc1/tests/test032.c b/cc1/tests/test032.c
index 0db8263..b34d163 100644
--- a/cc1/tests/test032.c
+++ b/cc1/tests/test032.c
_AT_@ -10,7 +10,7 @@ G4 F3 main
 {
 \
 A6 P p
- A6 "54686973206973206120737472696E672024206F722023206F72202323616E64206974206973206F6B2021 'P :P
+ A6 "54686973206973206120737472696E672024206F722023206F72202323616E64206974206973206F6B202100 :P
         r A6 #P0 !I
 }
 
Received on Wed Jan 20 2016 - 16:02:22 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 20 2016 - 16:12:15 CET