DELTA 363621 0 79 SVN . n6j trap_init(ENDREP DELTA 362182 0 55 SVN&@  YcCbg13ENDREP DELTA SVNqsqq# $FreeBSD$ T=`mktemp -d ${TMPDIR:-/tmp}/sh-test.XXXXXXXX` trap 'rm -rf $T' 0 cd $T || exit 3 mkfifo fifo1 # Use a trap, not the default action, since the shell may catch SIGINT and # therefore its processing may be delayed. { set -C; trap 'exit 5' TERM; read dummy fifo1 kill -INT "$!" kill -TERM "$!" exec 3>&- wait "$!" r=$? [ "$r" = 5 ] ENDREP DELTA 363057 0 38 SVN+F?{p;>void trap_init(void) { setsignal(SIGINT); setsignal(SIGQUIT)ENDREP DELTA 326025 11245 60 SVNJ` mj` trap_initENDREP id: cj-1556.5b-1557.r364919/683 type: file pred: cj-1556.5b-1557.r363621/106 count: 70 text: 364919 0 33 7470 c364d193d40d985d72833d9ca11ed495 4c7f5772d0df869edd585f69e9bfdfe66454bcd9 364918-7tw8/_4 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/bin/sh/main.c copyroot: 1557 /head/bin/sh/main.c id: y-259210.5-259210.r364919/999 type: file pred: y-259210.5-259210.r362182/743 count: 12 text: 364919 58 27 1984 06a40f5114e6f8669ccc9cf58f3469ae 7d7bb61a79b6455346446acd9aafccf18827d738 364918-7tw8/_7 props: 179448 45543 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/bin/sh/tests/execution/Makefile copyroot: 259210 /head/bin/sh/tests/execution id: 8-364919.5-259210.r364919/1354 type: file count: 0 text: 364919 110 386 369 22ef64d84fdd3114176c59e05e6be8ba cb23fb7d0180e469793ed3c72464b0b5b835c1d8 364918-7tw8/_9 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/bin/sh/tests/execution/bg13.0 copyroot: 259210 /head/bin/sh/tests/execution PLAIN K 8 Makefile V 34 file y-259210.5-259210.r364919/999 K 15 Makefile.depend V 37 file w5-284345.b-296587.r296587/30995 K 5 bg1.0 V 28 file 9-221027.0.r221027/5712 K 6 bg10.0 V 28 file 9-258535.0.r258535/5687 K 13 bg10.0.stdout V 28 file c-258535.0.r258535/5972 K 6 bg11.0 V 35 file 7-362182.5-259210.r362182/1098 K 6 bg12.0 V 33 file 9-362182.5-259210.r362737/57 K 6 bg13.0 V 35 file 8-364919.5-259210.r364919/1354 K 5 bg2.0 V 28 file c-221027.0.r221027/5994 K 5 bg3.0 V 28 file e-221027.0.r221027/6276 K 5 bg4.0 V 26 file 6-223283.0.r223283/73 K 5 bg5.0 V 27 file 6-258489.0.r258489/339 K 5 bg6.0 V 27 file 9-258489.0.r258489/620 K 12 bg6.0.stdout V 27 file b-258489.0.r258489/903 K 5 bg7.0 V 27 file 6-258533.0.r258533/700 K 5 bg8.0 V 27 file 9-258533.0.r258533/981 K 5 bg9.0 V 28 file b-258533.0.r258533/1264 K 6 env1.0 V 34 file 7-342741.5-259210.r342741/543 K 7 fork1.0 V 26 file a-194196.0.r218850/96 K 7 fork2.0 V 29 file 6-194775.0.r213738/19226 K 7 fork3.0 V 28 file b-220978.0.r220978/7255 K 7 func1.0 V 29 file d-196483.0.r213738/19542 K 7 func2.0 V 28 file c-196634.0.r211399/5035 K 7 func3.0 V 28 file 9-214304.0.r216398/1806 K 7 hash1.0 V 28 file 9-218323.0.r218323/5629 K 10 int-cmd1.0 V 28 file 9-253271.0.r253271/5543 K 9 killed1.0 V 28 file 9-217557.0.r217557/5705 K 9 killed2.0 V 28 file 9-218105.0.r218105/5970 K 6 not1.0 V 28 file 9-249407.0.r249407/5605 K 6 not2.0 V 28 file c-249407.0.r249407/5887 K 7 path1.0 V 28 file 9-217206.0.r217206/5951 K 11 pipefail1.0 V 35 file a-344502.5-259210.r344502/3152 K 12 pipefail2.42 V 35 file c-344502.5-259210.r344502/3469 K 12 pipefail3.42 V 35 file e-344502.5-259210.r344502/3787 K 12 pipefail4.42 V 35 file g-344502.5-259210.r344502/4105 K 12 pipefail5.42 V 35 file i-344502.5-259210.r344502/4423 K 12 pipefail6.42 V 35 file k-344502.5-259210.r344502/4741 K 11 pipefail7.0 V 35 file m-344502.5-259210.r344502/5059 K 8 redir1.0 V 28 file a-199953.0.r211408/4341 K 8 redir2.0 V 29 file d-199953.0.r213738/19859 K 8 redir3.0 V 26 file 6-214289.0.r214289/48 K 8 redir4.0 V 28 file 9-214290.0.r214290/6857 K 8 redir5.0 V 28 file 9-218325.0.r218325/5592 K 8 redir6.0 V 28 file e-220978.0.r220978/7539 K 8 redir7.0 V 28 file g-220978.0.r220978/7826 K 8 set-C1.0 V 34 file 7-308229.5-259210.r308229/665 K 8 set-n1.0 V 27 file 6-222661.0.r222661/286 K 8 set-n2.0 V 27 file 9-222661.0.r222661/569 K 8 set-n3.0 V 27 file b-222661.0.r222661/853 K 8 set-n4.0 V 28 file 9-222676.0.r222676/5508 K 8 set-x1.0 V 27 file 6-222882.0.r222882/350 K 8 set-x2.0 V 27 file 9-222882.0.r222882/634 K 8 set-x3.0 V 28 file d-222907.0.r222907/7774 K 8 set-x4.0 V 35 file 8-275766.5-259210.r275766/2391 K 12 shellproc1.0 V 27 file 6-218205.0.r218205/271 K 12 shellproc2.0 V 35 file 7-356208.5-259210.r356208/2115 K 12 shellproc3.0 V 35 file 9-356208.5-259210.r356208/2434 K 12 shellproc4.0 V 35 file b-356208.5-259210.r356208/2753 K 12 shellproc5.0 V 35 file d-356208.5-259210.r356208/3072 K 12 shellproc6.0 V 35 file 8-361647.5-259210.r361647/1578 K 11 subshell1.0 V 27 file 6-245383.0.r245383/357 K 18 subshell1.0.stdout V 27 file 9-245383.0.r245383/642 K 11 subshell2.0 V 27 file b-245383.0.r245383/939 K 11 subshell3.0 V 28 file d-245383.0.r245383/1226 K 11 subshell4.0 V 28 file f-245383.0.r245383/1514 K 10 unknown1.0 V 28 file a-197820.0.r197820/6011 K 10 unknown2.0 V 32 file 8-361112.5-259210.r361117/0 K 13 var-assign1.0 V 28 file 9-212467.0.r212467/7116 END ENDREP id: 9-194196.5-259210.r364919/5081 type: dir pred: 9-194196.5-259210.r362737/3764 count: 49 text: 364919 1667 3401 0 0dbe150c14914f16fca9adb9c4743dcb cpath: /head/bin/sh/tests/execution copyroot: 259210 /head/bin/sh/tests/execution PLAIN K 8 Makefile V 28 file p-259210.0.r322438/1089 K 15 Makefile.depend V 37 file w5-284345.8-296587.r296587/18587 K 8 builtins V 35 dir a-149781.3-259210.r336320/13539 K 6 errors V 34 dir 5-157415.4-259210.r341097/3953 K 9 execution V 34 dir 9-194196.5-259210.r364919/5081 K 9 expansion V 34 dir 5-194981.6-259210.r344902/5754 K 18 functional_test.sh V 25 file j-269902.0.r362738/0 K 10 invocation V 28 dir 6-322438.0.r325187/12362 K 10 parameters V 34 dir 5-185232.8-259210.r306843/2520 K 6 parser V 34 dir 5-191010.9-259210.r360992/6610 K 5 set-e V 35 dir q-149781.a-259210.r299094/42278 END ENDREP id: o-259210.0.r364919/5918 type: dir pred: o-259210.0.r362738/911 count: 111 text: 364919 5314 591 0 c1e6e397a21b019524de627ce2db1475 cpath: /head/bin/sh/tests copyroot: 0 / id: e1-1556.62-1557.r364919/6094 type: file pred: e1-1556.62-1557.r363057/67 count: 68 text: 364919 509 89 11590 8e72a9f87fb43277edf62cc14636b801 692ebacf007ecc5bfdfc42a32c46c31861265e7d 364918-7tw8/_a props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/bin/sh/trap.c copyroot: 1557 /head/bin/sh/trap.c id: e3-1556.63-1557.r364919/6413 type: file pred: e3-1556.63-1557.r326025/279356 count: 25 text: 364919 623 31 2144 bc5e9778fdf803c3ae2bae9384602e56 1082ccee843a8bacd3d2885180d09e75db7c356c 364918-7tw8/_b props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/bin/sh/trap.h copyroot: 1557 /head/bin/sh/trap.h PLAIN K 8 Makefile V 31 file aa-1556.49-1557.r359511/48 K 15 Makefile.depend V 30 file 2v-284345.0.r325188/48336 K 4 TOUR V 32 file ad-1556.4a-1557.r340284/890 K 7 alias.c V 32 file af-1556.4b-1557.r317039/232 K 7 alias.h V 35 file ah-1556.4c-1557.r314436/287640 K 7 arith.h V 31 file 9-15920.0-15921.r315511/47 K 12 arith_yacc.c V 28 file 6-218466.0.r343981/1232 K 12 arith_yacc.h V 28 file 8-218466.0.r343981/1529 K 13 arith_yylex.c V 28 file a-218466.0.r343981/1827 K 5 bltin V 28 dir 1d-1557.0.r326025/271570 K 12 builtins.def V 32 file h-15920.1-15921.r360210/186 K 4 cd.c V 31 file ax-1556.4j-1557.r356251/95 K 4 cd.h V 29 file b-20425.0.r314436/289931 K 11 dot.profile V 31 file 2k-37.1-338374.r343416/623 K 8 dot.shrc V 34 file 5-27865.0-343416.r361798/2241 K 7 error.c V 33 file b3-1556.4m-1557.r340284/1204 K 7 error.h V 33 file b5-1556.4n-1557.r340284/1528 K 6 eval.c V 33 file b7-1556.4o-1557.r340284/1849 K 6 eval.h V 35 file b9-1556.4p-1557.r314436/291199 K 6 exec.c V 32 file bb-1556.4q-1557.r361647/902 K 6 exec.h V 33 file bd-1556.4r-1557.r339822/1122 K 8 expand.c V 32 file bf-1556.4s-1557.r341164/855 K 8 expand.h V 35 file bh-1556.4t-1557.r314436/292503 K 5 funcs V 28 dir 1f-1557.0.r314436/295546 K 10 histedit.c V 32 file c1-1556.52-1557.r360139/241 K 7 input.c V 31 file c5-1556.54-1557.r359398/48 K 7 input.h V 35 file c7-1556.55-1557.r314436/296383 K 6 jobs.c V 32 file c9-1556.56-1557.r361112/256 K 6 jobs.h V 32 file cb-1556.57-1557.r327475/955 K 6 mail.c V 32 file cf-1556.59-1557.r336303/427 K 6 mail.h V 35 file ch-1556.5a-1557.r326025/271750 K 6 main.c V 32 file cj-1556.5b-1557.r364919/683 K 6 main.h V 35 file cl-1556.5c-1557.r326025/272402 K 10 memalloc.c V 32 file cn-1556.5d-1557.r360452/466 K 10 memalloc.h V 35 file cp-1556.5e-1557.r326025/273062 K 11 miscbltin.c V 31 file cr-1556.5f-1557.r361384/54 K 10 mkbuiltins V 32 file ct-1556.5g-1557.r360210/516 K 9 mknodes.c V 35 file cx-1556.5i-1557.r326025/273729 K 10 mksyntax.c V 32 file d1-1556.5k-1557.r334008/237 K 8 mktokens V 32 file d3-1556.5l-1557.r328934/765 K 12 myhistedit.h V 35 file d5-1556.5m-1557.r326025/274396 K 10 mystring.c V 35 file d7-1556.5n-1557.r326025/274735 K 10 mystring.h V 35 file d9-1556.5o-1557.r326025/275070 K 11 nodes.c.pat V 35 file db-1556.5p-1557.r314436/301988 K 9 nodetypes V 35 file dd-1556.5q-1557.r314436/302323 K 9 options.c V 35 file df-1556.5r-1557.r326025/275405 K 9 options.h V 33 file dh-1556.5s-1557.r344502/2146 K 8 output.c V 32 file dj-1556.5t-1557.r344306/928 K 8 output.h V 33 file dl-1556.5u-1557.r344306/1253 K 8 parser.c V 32 file dn-1556.5v-1557.r343399/741 K 8 parser.h V 35 file dp-1556.5w-1557.r326025/277057 K 7 profile V 33 file 4-3161.6-337849.r343231/2053 K 7 redir.c V 35 file dr-1556.5x-1557.r326025/277388 K 7 redir.h V 35 file dt-1556.5y-1557.r326025/277717 K 4 sh.1 V 32 file dv-1556.5z-1557.r362957/106 K 7 shell.h V 33 file dx-1556.60-1557.r343981/2128 K 6 show.c V 35 file dz-1556.61-1557.r326025/278375 K 6 show.h V 36 file 1z-15920.2-15921.r326025/278702 K 5 tests V 27 dir o-259210.0.r364919/5918 K 6 trap.c V 33 file e1-1556.62-1557.r364919/6094 K 6 trap.h V 33 file e3-1556.63-1557.r364919/6413 K 5 var.c V 32 file e5-1556.64-1557.r342740/122 K 5 var.h V 35 file e7-1556.65-1557.r326025/280006 END ENDREP id: 1b-1557.0.r364919/10003 type: dir pred: 1b-1557.0.r363621/3690 count: 1157 text: 364919 6735 3255 0 7825189885670ea31eb05b58c195a704 cpath: /head/bin/sh copyroot: 0 / PLAIN K 8 Makefile V 31 file i-1556.0-1557.r324351/3616 K 12 Makefile.inc V 32 file l-1556.1-1557.r265420/26643 K 3 cat V 25 dir 3-1557.0.r356791/1579 K 7 chflags V 25 dir 3u-1590.0.r335003/752 K 4 chio V 26 dir 2-23450.0.r363563/6366 K 5 chmod V 24 dir 5-1557.0.r344952/639 K 2 cp V 27 dir 7-1557.0.r326025/238925 K 3 csh V 25 dir 9-1557.0.r361798/2073 K 4 date V 24 dir d-1557.0.r364790/862 K 2 dd V 25 dir f-1557.0.r361806/3361 K 2 df V 24 dir h-1557.0.r329092/772 K 10 domainname V 27 dir 2-2862.0.r326025/246133 K 4 echo V 25 dir j-1557.0.r335395/9959 K 2 ed V 23 dir 2-17.0.r340132/3640 K 4 expr V 22 dir 3-5.0.r332499/3600 K 15 freebsd-version V 33 dir 4-256106.0-256241.r348177/673 K 7 getfacl V 25 dir 2-74465.0.r340014/847 K 8 hostname V 27 dir l-1557.0.r326025/248808 K 4 kenv V 26 dir 2-62813.0.r326651/4085 K 4 kill V 27 dir n-1557.0.r326025/249545 K 2 ln V 27 dir p-1557.0.r326025/250357 K 2 ls V 25 dir r-1557.0.r364449/1128 K 5 mkdir V 27 dir t-1557.0.r326025/253800 K 2 mv V 27 dir v-1557.0.r326025/254566 K 3 pax V 25 dir x-1557.0.r342601/2315 K 5 pkill V 33 dir 2-127412.0-182543.r341440/832 K 2 ps V 25 dir z-1557.0.r363649/1228 K 5 pwait V 26 dir 4-199458.0.r357420/594 K 3 pwd V 25 dir 11-1557.0.r335278/602 K 8 realpath V 28 dir 9-69110.0.r326025/269086 K 2 rm V 25 dir 15-1557.0.r360213/624 K 5 rmail V 27 dir 17-1557.0.r325188/46425 K 5 rmdir V 28 dir 19-1557.0.r326025/270593 K 7 setfacl V 26 dir 9-74465.0.r339793/2054 K 2 sh V 27 dir 1b-1557.0.r364919/10003 K 5 sleep V 27 dir 1h-1557.0.r335395/10736 K 4 stty V 26 dir 1j-1557.0.r348999/3052 K 4 sync V 27 dir 1l-1557.0.r325188/54396 K 4 test V 27 dir 1n-1557.0.r325188/55155 K 5 tests V 29 dir 1k-259210.0.r299094/49109 K 7 uuidgen V 26 dir 2-97372.0.r351858/2102 END ENDREP id: 1-5.0.r364919/11929 type: dir pred: 1-5.0.r364790/2782 count: 3570 text: 364919 10175 1741 0 8a50d0fffb4d327bdecf876575dbc597 cpath: /head/bin copyroot: 0 / PLAIN K 10 .arcconfig V 26 file 1-265842.0.r306435/41 K 8 .arclint V 25 file 1-266959.0.r326959/0 K 11 .cirrus.yml V 26 file 1-346085.0.r358120/50 K 13 .clang-format V 27 file 1-348777.0.r362596/452 K 14 .gitattributes V 28 file 1-327183.0.r348777/1230 K 10 .gitignore V 27 file 4-327183.0.r350843/439 K 9 COPYRIGHT V 25 file 1-2656.0.r356230/107 K 5 LOCKS V 26 file 1-146890.0.r334871/53 K 11 MAINTAINERS V 26 file 1-94742.0.r362643/166 K 8 Makefile V 29 file 3-1594.0-1595.r364764/63 K 13 Makefile.inc1 V 24 file 5-38666.0.r364891/0 K 18 Makefile.libcompat V 33 file 5-38666.0-296709.r359324/632 K 16 Makefile.sys.inc V 27 file 3-325973.0.r326580/260 K 17 ObsoleteFiles.inc V 27 file 4-148330.0.r364436/617 K 6 README V 26 file 1-21173.0.r335299/328 K 9 README.md V 27 file 1-314473.0.r335299/605 K 8 RELNOTES V 26 file 1-350089.0.r364728/50 K 8 UPDATING V 26 file 1-41806.0.r364875/219 K 3 bin V 23 dir 1-5.0.r364919/11929 K 4 cddl V 27 dir 1-168404.0.r364891/6062 K 7 contrib V 27 dir 1-16755.0.r364891/59858 K 6 crypto V 27 dir 1-25405.0.r364891/63491 K 3 etc V 26 dir 1-38.0.r364284/3302356 K 3 gnu V 22 dir 1-3.0.r361894/1600 K 7 include V 25 dir 1-697.0.r364746/87813 K 9 kerberos5 V 28 dir 4q-29815.0.r355617/39470 K 3 lib V 22 dir 6-5.0.r364808/7118 K 7 libexec V 23 dir c-5.0.r364867/11753 K 7 release V 25 dir 1-3027.0.r364899/1414 K 6 rescue V 29 dir 7-117035.0.r364746/113887 K 4 sbin V 23 dir fa-4.0.r364765/5485 K 6 secure V 26 dir r-1553.0.r364823/62117 K 5 share V 22 dir e-3.0.r364861/8908 K 5 stand V 34 dir 6j-38465.0-325834.r364901/7046 K 3 sys V 23 dir g-5.0.r364918/19377 K 7 targets V 35 dir 2-242818.1-284345.r362587/18994 K 5 tests V 28 dir g-257097.0.r364783/10068 K 5 tools V 26 dir 43-1590.0.r364802/2750 K 7 usr.bin V 23 dir m-3.0.r364854/16588 K 8 usr.sbin V 23 dir q-3.0.r364874/15232 END ENDREP id: 5-1.0.r364919/13920 type: dir pred: 5-1.0.r364918/21441 count: 240935 text: 364919 12091 1816 0 28f5886071208a492d8d6eeffa88ff1c props: 364891 104417 3509 0 ee5e56ba86df9a15d0ee7fe03ca38290 cpath: /head copyroot: 0 / minfo-cnt: 162 minfo-here: y PLAIN K 11 ROADMAP.txt V 26 file 0-179453.0.r285589/70 K 4 head V 23 dir 5-1.0.r364919/13920 K 8 projects V 22 dir 6-1.0.r364900/8292 K 7 release V 22 dir 7-1.0.r362227/3485 K 6 releng V 23 dir 8-1.0.r363924/31234 K 6 stable V 23 dir 9-1.0.r364917/63252 K 8 svnadmin V 27 dir 0-179447.0.r364742/1308 K 4 user V 22 dir a-1.0.r364894/6131 K 6 vendor V 22 dir b-1.0.r364714/7952 K 13 vendor-crypto V 25 dir 0-1575.0.r360174/5542 K 10 vendor-sys V 26 dir 0-12116.0.r364741/1627 END ENDREP id: 0.0.r364919/14656 type: dir pred: 0.0.r364918/22176 count: 364919 text: 364919 14171 472 0 f873c74cf3fe96d391c00a8f2e0fbe6c props: 289270 0 4229 0 20f578acc837c5e58fc64b9eaa493aea cpath: / copyroot: 0 / minfo-cnt: 46653 cj-1556.5b-1557.t364918-7tw8 modify-file true false /head/bin/sh/main.c y-259210.5-259210.t364918-7tw8 modify-file true false /head/bin/sh/tests/execution/Makefile _8.5-259210.t364918-7tw8 add-file true true /head/bin/sh/tests/execution/bg13.0 e1-1556.62-1557.t364918-7tw8 modify-file true false /head/bin/sh/trap.c e3-1556.63-1557.t364918-7tw8 modify-file true false /head/bin/sh/trap.h 14656 14881