summaryrefslogtreecommitdiff
path: root/new-infra/test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'new-infra/test.pl')
-rw-r--r--new-infra/test.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/new-infra/test.pl b/new-infra/test.pl
index c33c7767d0f..8a2db80660b 100644
--- a/new-infra/test.pl
+++ b/new-infra/test.pl
@@ -6,4 +6,10 @@ use TLSRC;
my $tlsrc = new TLSRC;
$tlsrc->from_file("tlsrc/foo.tlsrc");
-$tlsrc->display();
+$tlsrc->writeout();
+
+my $tl = TLSRC->new( 'name' => "foobar",
+ 'shortdesc' => "The foobar packages",
+ 'catalogue' => "foobarcatalogue",
+ 'depends' => [ 1, 2, 3 ] );
+$tl->writeout(\*STDERR);