Skip to content

Commit

Permalink
FIXME: start and run are broken, test cannot preload
Browse files Browse the repository at this point in the history
  • Loading branch information
exodist committed Dec 3, 2023
1 parent cc97838 commit 373bdae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/fake.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use Test2::V0;
use Carp qw/longmess/;

use Data::Dumper;
print STDOUT "STDOUT!!!!\n";
print STDERR "WARN: " . ($^W || 0) . "\n";
print STDERR "ARGS " . Dumper(\@ARGV);

Expand All @@ -24,6 +25,7 @@ print "Trace: " . longmess();
print "STAGE: $ENV{T2_HARNESS_STAGE}\n";

print STDOUT "Enter Text:";

STDOUT->flush();
my $got = <STDIN> // '<UNDEF>';
print "Got: $got\n";
Expand All @@ -34,6 +36,8 @@ print "AAA\n";
#bail_out "foo";
print "AAB\n";

#sleep 20;

subtest subtest_a => sub {
print "***** " . Test2::API::test2_trace_stamps_enabled . " | $ENV{T2_TRACE_STAMPS} *****\n";
ok(1);
Expand All @@ -58,3 +62,5 @@ subtest undef, sub {
diag "TMPDIR: $ENV{TMPDIR}\n";

done_testing;

print STDERR "END!\n";

0 comments on commit 373bdae

Please sign in to comment.