summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1998-01-14 21:56:40 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1998-01-14 21:56:40 +0000
commit1c0b011c3cb943300d25c09a1dd1623c83b99920 (patch)
tree7630566e158df7fbb900d3bd20382d75f0774dd0 /t
parenta60c0954410db87be540ee8439afcd54350bbb8e (diff)
downloadperl-1c0b011c3cb943300d25c09a1dd1623c83b99920.tar.gz
Not working yet - split problems ...
p4raw-id: //depot/ansiperl@425
Diffstat (limited to 't')
-rwxr-xr-x[-rw-r--r--]t/lib/thread.t0
-rwxr-xr-xt/op/tiearray.t15
2 files changed, 12 insertions, 3 deletions
diff --git a/t/lib/thread.t b/t/lib/thread.t
index 9810ae48d9..9810ae48d9 100644..100755
--- a/t/lib/thread.t
+++ b/t/lib/thread.t
diff --git a/t/op/tiearray.t b/t/op/tiearray.t
index da25760809..9e709bc751 100755
--- a/t/op/tiearray.t
+++ b/t/op/tiearray.t
@@ -101,7 +101,7 @@ sub SPLICE
package main;
-print "1..29\n";
+print "1..30\n";
my $test = 1;
{my @ary;
@@ -130,10 +130,19 @@ print "ok ", $test++,"\n";
print "not " unless $seen{'STORE'} >= 3;
print "ok ", $test++,"\n";
-
print "not " unless join(':',@ary) eq '1:2:3';
print "ok ", $test++,"\n";
+{my @thing = @ary;
+print "not " unless join(':',@thing) eq '1:2:3';
+print "ok ", $test++,"\n";
+
+tie @thing,'Implement';
+@thing = @ary;
+print "not " unless join(':',@thing) eq '1:2:3';
+print "ok ", $test++,"\n";
+}
+
print "not " unless pop(@ary) == 3;
print "ok ", $test++,"\n";
print "not " unless $seen{'POP'} == 1;
@@ -194,7 +203,7 @@ untie @ary;
}
-print "not " unless $seen{'DESTROY'} == 1;
+print "not " unless $seen{'DESTROY'} == 2;
print "ok ", $test++,"\n";