-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New v63004/gtm5730 subtest (tests GTM-5730 in V63004)
This commit tests the below release note The Update Process logs record types with their corresponding type description; previously it only logged the integer type value. Note that it is possible, the change could disrupt code that parses the modified results.
- Loading branch information
1 parent
014ffcd
commit 6381203
Showing
5 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
; ; | ||
; Copyright (c) 2018 YottaDB LLC. and/or its subsidiaries. ; | ||
; All rights reserved. ; | ||
; ; | ||
; This source code contains the intellectual property ; | ||
; of its copyright holder(s), and is made available ; | ||
; under a license. If you do not know the terms of ; | ||
; the license, please stop and do not read further. ; | ||
; ; | ||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
; | ||
gtm5730() | ||
|
||
FOR i=1:1:1000 DO | ||
. TSTART | ||
. set ^x(i)=i | ||
. TCOMMIT | ||
|
||
FOR i=1001:1:2000 set ^x(i)=i ; | ||
|
||
KILL ^x | ||
|
||
quit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Get start time (used in .updproc file name) | ||
# Run gtm5730.m to update DB 2000 times | ||
# RF_sync to allow reciever to catch up | ||
# Dump .updproc file from recieving side to rcvr.updproc | ||
# Search rcvr.updproc for non-numerical type descriptor | ||
1 [0x1];Rectype 17 - TCOM | ||
1001 [0x3e9];Rectype 7 - SET | ||
2001 [0x7d1];Rectype 4 - KILL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/local/bin/tcsh -f | ||
################################################################# | ||
# # | ||
# Copyright (c) 2018 YottaDB LLC. and/or its subsidiaries. # | ||
# All rights reserved. # | ||
# # | ||
# This source code contains the intellectual property # | ||
# of its copyright holder(s), and is made available # | ||
# under a license. If you do not know the terms of # | ||
# the license, please stop and do not read further. # | ||
# # | ||
################################################################# | ||
# | ||
|
||
$gtm_tst/com/dbcreate.csh mumps 1 >& dbcreate.outx | ||
|
||
echo "# Get start time (used in .updproc file name)" | ||
setenv start_time `cat start_time` # start_time is used in naming conventions | ||
|
||
echo "# Run gtm5730.m to update DB 2000 times" | ||
$gtm_dist/mumps -run gtm5730 > gtm5730.m.log | ||
|
||
echo "# RF_sync to allow reciever to catch up" | ||
$gtm_tst/com/RF_sync.csh | ||
|
||
echo "# Dump .updproc file from recieving side to rcvr.updproc" | ||
$sec_shell 'cat $SEC_DIR/RCVR_'${start_time}.log.updproc'' >& rcvr.updproc | ||
|
||
echo "# Search rcvr.updproc for non-numerical type descriptor" | ||
$ydb_dist/mumps -run LOOP^%XCMD --xec=';write:$zfind(%l,"Rectype") $zpiece(%l,":",5)," ",$zpiece(%l,":",6),!;' < rcvr.updproc | ||
|
||
$gtm_tst/com/dbcheck.csh >& dbcheck.outx | ||
|