Module Name: src
Committed By: martin
Date: Fri May 4 10:44:24 UTC 2018
Modified Files:
src/tests/usr.bin/cc: t_ubsan_int_add_overflow.sh
t_ubsan_int_divzero.sh t_ubsan_int_neg_overflow.sh
t_ubsan_int_sub_overflow.sh t_ubsan_vla_out_of_bounds.sh
Log Message:
Use more formal speech in messages
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/cc/t_ubsan_int_add_overflow.sh \
src/tests/usr.bin/cc/t_ubsan_int_divzero.sh \
src/tests/usr.bin/cc/t_ubsan_int_neg_overflow.sh \
src/tests/usr.bin/cc/t_ubsan_int_sub_overflow.sh \
src/tests/usr.bin/cc/t_ubsan_vla_out_of_bounds.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/usr.bin/cc/t_ubsan_int_add_overflow.sh
diff -u src/tests/usr.bin/cc/t_ubsan_int_add_overflow.sh:1.1 src/tests/usr.bin/cc/t_ubsan_int_add_overflow.sh:1.2
--- src/tests/usr.bin/cc/t_ubsan_int_add_overflow.sh:1.1 Wed May 2 18:46:05 2018
+++ src/tests/usr.bin/cc/t_ubsan_int_add_overflow.sh Fri May 4 10:44:24 2018
@@ -156,11 +156,11 @@ EOF
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
Index: src/tests/usr.bin/cc/t_ubsan_int_divzero.sh
diff -u src/tests/usr.bin/cc/t_ubsan_int_divzero.sh:1.1 src/tests/usr.bin/cc/t_ubsan_int_divzero.sh:1.2
--- src/tests/usr.bin/cc/t_ubsan_int_divzero.sh:1.1 Wed May 2 18:46:05 2018
+++ src/tests/usr.bin/cc/t_ubsan_int_divzero.sh Fri May 4 10:44:24 2018
@@ -150,11 +150,11 @@ EOF
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
Index: src/tests/usr.bin/cc/t_ubsan_int_neg_overflow.sh
diff -u src/tests/usr.bin/cc/t_ubsan_int_neg_overflow.sh:1.1 src/tests/usr.bin/cc/t_ubsan_int_neg_overflow.sh:1.2
--- src/tests/usr.bin/cc/t_ubsan_int_neg_overflow.sh:1.1 Wed May 2 18:46:05 2018
+++ src/tests/usr.bin/cc/t_ubsan_int_neg_overflow.sh Fri May 4 10:44:24 2018
@@ -156,11 +156,11 @@ EOF
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
Index: src/tests/usr.bin/cc/t_ubsan_int_sub_overflow.sh
diff -u src/tests/usr.bin/cc/t_ubsan_int_sub_overflow.sh:1.1 src/tests/usr.bin/cc/t_ubsan_int_sub_overflow.sh:1.2
--- src/tests/usr.bin/cc/t_ubsan_int_sub_overflow.sh:1.1 Wed May 2 18:46:05 2018
+++ src/tests/usr.bin/cc/t_ubsan_int_sub_overflow.sh Fri May 4 10:44:24 2018
@@ -156,11 +156,11 @@ EOF
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
Index: src/tests/usr.bin/cc/t_ubsan_vla_out_of_bounds.sh
diff -u src/tests/usr.bin/cc/t_ubsan_vla_out_of_bounds.sh:1.1 src/tests/usr.bin/cc/t_ubsan_vla_out_of_bounds.sh:1.2
--- src/tests/usr.bin/cc/t_ubsan_vla_out_of_bounds.sh:1.1 Wed May 2 18:46:05 2018
+++ src/tests/usr.bin/cc/t_ubsan_vla_out_of_bounds.sh Fri May 4 10:44:24 2018
@@ -153,11 +153,11 @@ EOF
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