@@ -46,7 +46,6 @@ load './util/init.sh'
4646
4747@test " core.trap_add adds trap function properly" {
4848 somefunction () { : ; }
49- core.init
5049 core.trap_add ' somefunction' ' USR1'
5150
5251 [ " ${___global_trap_table___[nokey]} " != $' \x1C somefunction' ]
@@ -56,7 +55,6 @@ load './util/init.sh'
5655@test " core.trap_add adds function properly 2" {
5756 somefunction () { : ; }
5857 somefunction2 () { : ; }
59- core.init
6058 core.trap_add ' somefunction' ' USR1'
6159 core.trap_add ' somefunction2' ' USR1'
6260
@@ -66,7 +64,6 @@ load './util/init.sh'
6664
6765@test " core.trap_add adds function properly 3" {
6866 somefunction () { : ; }
69- core.init
7067 core.trap_add ' somefunction' ' USR1' ' USR2'
7168
7269 [ " ${___global_trap_table___[nokey]} " != $' \x1C somefunction' ]
@@ -104,7 +101,6 @@ load './util/init.sh'
104101
105102@test " core.trap_remove removes trap function properly" {
106103 somefunction () { : ; }
107- core.init
108104 core.trap_add ' somefunction' ' USR1'
109105 core.trap_remove ' somefunction' ' USR1'
110106
@@ -114,7 +110,6 @@ load './util/init.sh'
114110@test " core.trap_remove removes trap function properly 2" {
115111 somefunction () { : ; }
116112 somefunction2 () { : ; }
117- core.init
118113 core.trap_add ' somefunction' ' USR1'
119114 core.trap_add ' somefunction2' ' USR1'
120115 core.trap_remove ' somefunction' ' USR1'
@@ -125,7 +120,6 @@ load './util/init.sh'
125120
126121@test " core.trap_add removes function properly 3" {
127122 somefunction () { : ; }
128- core.init
129123 core.trap_add ' somefunction' ' USR1'
130124 core.trap_add ' somefunction' ' USR2'
131125 core.trap_remove ' somefunction' ' USR1' ' USR2'
@@ -137,7 +131,6 @@ load './util/init.sh'
137131@test " core.trap_remove removes trap function properly 4" {
138132 somefunction () { : ; }
139133 somefunction2 () { : ; }
140- core.init
141134 core.trap_add ' somefunction' ' USR1'
142135 core.trap_add ' somefunction2' ' USR1'
143136 core.trap_remove ' somefunction2' ' USR1'
0 commit comments