Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/c++ Improve wording for non-native speakers of...



details:   https://anonhg.NetBSD.org/src/rev/f8abfcef459d
branches:  trunk
changeset: 832247:f8abfcef459d
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri May 04 12:51:18 2018 +0000

description:
Improve wording for non-native speakers of English

Improve wording in t_ubsan tests in for c++.

No functional change intended.

Follow the changed in cc/ by <martin>

diffstat:

 tests/usr.bin/c++/t_ubsan_int_add_overflow.sh  |  6 +++---
 tests/usr.bin/c++/t_ubsan_int_divzero.sh       |  6 +++---
 tests/usr.bin/c++/t_ubsan_int_neg_overflow.sh  |  6 +++---
 tests/usr.bin/c++/t_ubsan_int_sub_overflow.sh  |  6 +++---
 tests/usr.bin/c++/t_ubsan_vla_out_of_bounds.sh |  6 +++---
 5 files changed, 15 insertions(+), 15 deletions(-)

diffs (90 lines):

diff -r 2b7eae66c16a -r f8abfcef459d tests/usr.bin/c++/t_ubsan_int_add_overflow.sh
--- a/tests/usr.bin/c++/t_ubsan_int_add_overflow.sh     Fri May 04 12:44:40 2018 +0000
+++ b/tests/usr.bin/c++/t_ubsan_int_add_overflow.sh     Fri May 04 12:51:18 2018 +0000
@@ -156,11 +156,11 @@
        file -b ./md32 > ./ftype32
        file -b ./md64 > ./ftype64
        if diff ./ftype32 ./ftype64 >/dev/null; then
-               atf_fail "Generated binz ain't no different"
+               atf_fail "Generated 32bit binaries do not differ from 64bit ones"
        fi
-       echo "32bit Binz on this platform are:"
+       echo "32bit binaries on this platform are:"
        cat ./ftype32
-       echo "64bit Binz are on the other hand:"
+       echo "64bit binaries are on the other hand:"
        cat ./ftype64
        atf_check -e match:"signed integer overflow" ./md32
 
diff -r 2b7eae66c16a -r f8abfcef459d tests/usr.bin/c++/t_ubsan_int_divzero.sh
--- a/tests/usr.bin/c++/t_ubsan_int_divzero.sh  Fri May 04 12:44:40 2018 +0000
+++ b/tests/usr.bin/c++/t_ubsan_int_divzero.sh  Fri May 04 12:51:18 2018 +0000
@@ -150,11 +150,11 @@
        file -b ./md32 > ./ftype32
        file -b ./md64 > ./ftype64
        if diff ./ftype32 ./ftype64 >/dev/null; then
-               atf_fail "Generated binz ain't no different"
+               atf_fail "Generated 32bit binaries do not differ from 64bit ones"
        fi
-       echo "32bit Binz on this platform are:"
+       echo "32bit binaries on this platform are:"
        cat ./ftype32
-       echo "64bit Binz are on the other hand:"
+       echo "64bit binaries are on the other hand:"
        cat ./ftype64
        atf_check -s signal:8 -e match:"division by zero" ./md32
 
diff -r 2b7eae66c16a -r f8abfcef459d tests/usr.bin/c++/t_ubsan_int_neg_overflow.sh
--- a/tests/usr.bin/c++/t_ubsan_int_neg_overflow.sh     Fri May 04 12:44:40 2018 +0000
+++ b/tests/usr.bin/c++/t_ubsan_int_neg_overflow.sh     Fri May 04 12:51:18 2018 +0000
@@ -156,11 +156,11 @@
        file -b ./md32 > ./ftype32
        file -b ./md64 > ./ftype64
        if diff ./ftype32 ./ftype64 >/dev/null; then
-               atf_fail "Generated binz ain't no different"
+               atf_fail "Generated 32bit binaries do not differ from 64bit ones"
        fi
-       echo "32bit Binz on this platform are:"
+       echo "32bit binaries on this platform are:"
        cat ./ftype32
-       echo "64bit Binz are on the other hand:"
+       echo "64bit binaries are on the other hand:"
        cat ./ftype64
        atf_check -e match:"negation of" ./md32
 
diff -r 2b7eae66c16a -r f8abfcef459d tests/usr.bin/c++/t_ubsan_int_sub_overflow.sh
--- a/tests/usr.bin/c++/t_ubsan_int_sub_overflow.sh     Fri May 04 12:44:40 2018 +0000
+++ b/tests/usr.bin/c++/t_ubsan_int_sub_overflow.sh     Fri May 04 12:51:18 2018 +0000
@@ -156,11 +156,11 @@
        file -b ./md32 > ./ftype32
        file -b ./md64 > ./ftype64
        if diff ./ftype32 ./ftype64 >/dev/null; then
-               atf_fail "Generated binz ain't no different"
+               atf_fail "Generated 32bit binaries do not differ from 64bit ones"
        fi
-       echo "32bit Binz on this platform are:"
+       echo "32bit binaries on this platform are:"
        cat ./ftype32
-       echo "64bit Binz are on the other hand:"
+       echo "64bit binaries are on the other hand:"
        cat ./ftype64
        atf_check -s ignore -e match:"signed integer overflow" ./md32
 
diff -r 2b7eae66c16a -r f8abfcef459d tests/usr.bin/c++/t_ubsan_vla_out_of_bounds.sh
--- a/tests/usr.bin/c++/t_ubsan_vla_out_of_bounds.sh    Fri May 04 12:44:40 2018 +0000
+++ b/tests/usr.bin/c++/t_ubsan_vla_out_of_bounds.sh    Fri May 04 12:51:18 2018 +0000
@@ -153,11 +153,11 @@
        file -b ./md32 > ./ftype32
        file -b ./md64 > ./ftype64
        if diff ./ftype32 ./ftype64 >/dev/null; then
-               atf_fail "Generated binz ain't no different"
+               atf_fail "Generated 32bit binaries do not differ from 64bit ones"
        fi
-       echo "32bit Binz on this platform are:"
+       echo "32bit binaries on this platform are:"
        cat ./ftype32
-       echo "64bit Binz are on the other hand:"
+       echo "64bit binaries are on the other hand:"
        cat ./ftype64
        atf_check -e match:"out of bounds" ./md32
 



Home | Main Index | Thread Index | Old Index