@@ -1907,6 +1907,7 @@ at_help_all="1;used_binaries.at:27;compiler help and information;runmisc cobc;
1907
1907
1309;i18n_sjis_pic-n.at:444;PIC N Move with half-width dakuten kana.;;
1908
1908
1310;i18n_sjis_pic-n.at:463;PIC N Move with half-width han-dakuten kana.;;
1909
1909
1311;i18n_sjis_pic-n.at:482;INITIALIZE PIC N.;;
1910
+ 1312;i18n_sjis_pic-n.at:501;PIC N Move with NUMERIC items.;;
1910
1911
"
1911
1912
# List of the all the test groups.
1912
1913
at_groups_all=`$as_echo "$at_help_all" | sed 's/;.*//'`
@@ -1920,7 +1921,7 @@ at_fn_validate_ranges ()
1920
1921
for at_grp
1921
1922
do
1922
1923
eval at_value=\$$at_grp
1923
- if test $at_value -lt 1 || test $at_value -gt 1311 ; then
1924
+ if test $at_value -lt 1 || test $at_value -gt 1312 ; then
1924
1925
$as_echo "invalid test group: $at_value" >&2
1925
1926
exit 1
1926
1927
fi
@@ -224606,3 +224607,77 @@ $at_traceon; }
224606
224607
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
224607
224608
read at_status <"$at_status_file"
224608
224609
#AT_STOP_1311
224610
+ #AT_START_1312
224611
+ at_fn_group_banner 1312 'i18n_sjis_pic-n.at:501' \
224612
+ "PIC N Move with NUMERIC items." " " 6
224613
+ at_xfail=no
224614
+ (
224615
+ $as_echo "1312. $at_setup_line: testing $at_desc ..."
224616
+ $at_traceon
224617
+
224618
+
224619
+ cat >prog.cob <<'_ATEOF'
224620
+
224621
+ IDENTIFICATION DIVISION.
224622
+ PROGRAM-ID. prog.
224623
+ DATA DIVISION.
224624
+ WORKING-STORAGE SECTION.
224625
+ 01 F0 PIC N(5).
224626
+ 01 F1 PIC 9(5).
224627
+ 01 F2 PIC S9(5).
224628
+ 01 F3 PIC 9(5) COMP-3.
224629
+ 01 F4 PIC S9(5) COMP.
224630
+ PROCEDURE DIVISION.
224631
+ MOVE 123 TO F1.
224632
+ MOVE F1 TO F0.
224633
+ DISPLAY F0.
224634
+ MOVE -123 TO F2.
224635
+ MOVE F2 TO F0.
224636
+ DISPLAY F0.
224637
+ MOVE 123 TO F3.
224638
+ MOVE F3 TO F0.
224639
+ DISPLAY F0.
224640
+ MOVE -123 TO F4.
224641
+ MOVE F4 TO F0.
224642
+ DISPLAY F0.
224643
+ STOP RUN.
224644
+ _ATEOF
224645
+
224646
+
224647
+ { set +x
224648
+ $as_echo "$at_srcdir/i18n_sjis_pic-n.at:529: \${COMPILE} -x prog.cob"
224649
+ at_fn_check_prepare_notrace 'a ${...} parameter expansion' "i18n_sjis_pic-n.at:529"
224650
+ ( $at_check_trace; ${COMPILE} -x prog.cob
224651
+ ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
224652
+ at_status=$? at_failed=false
224653
+ $at_check_filter
224654
+ at_fn_diff_devnull "$at_stderr" || at_failed=:
224655
+ at_fn_diff_devnull "$at_stdout" || at_failed=:
224656
+ at_fn_check_status 0 $at_status "$at_srcdir/i18n_sjis_pic-n.at:529"
224657
+ $at_failed && at_fn_log_failure
224658
+ $at_traceon; }
224659
+
224660
+ { set +x
224661
+ $as_echo "$at_srcdir/i18n_sjis_pic-n.at:530: ./prog"
224662
+ at_fn_check_prepare_trace "i18n_sjis_pic-n.at:530"
224663
+ ( $at_check_trace; ./prog
224664
+ ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
224665
+ at_status=$? at_failed=false
224666
+ $at_check_filter
224667
+ at_fn_diff_devnull "$at_stderr" || at_failed=:
224668
+ echo >>"$at_stdout"; $as_echo "�O�O�P�Q�R
224669
+ �O�O�P�Q��
224670
+ �O�O�P�Q�R
224671
+ �O�O�P�Q��
224672
+ " | \
224673
+ $at_diff - "$at_stdout" || at_failed=:
224674
+ at_fn_check_status 0 $at_status "$at_srcdir/i18n_sjis_pic-n.at:530"
224675
+ $at_failed && at_fn_log_failure
224676
+ $at_traceon; }
224677
+
224678
+
224679
+ set +x
224680
+ $at_times_p && times >"$at_times_file"
224681
+ ) 5>&1 2>&1 7>&- | eval $at_tee_pipe
224682
+ read at_status <"$at_status_file"
224683
+ #AT_STOP_1312
0 commit comments