2010-11-12 20:26:53 +01:00
|
|
|
#!perl
|
|
|
|
# vim:ts=4:sw=4:expandtab
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
use i3test tests => 1;
|
|
|
|
|
|
|
|
my $i3 = i3("/tmp/nestedcons");
|
|
|
|
|
|
|
|
$i3->command("blargh!")->recv;
|
|
|
|
|
2010-11-21 21:42:28 +01:00
|
|
|
my $tree = $i3->get_tree->recv;
|
2010-11-12 20:26:53 +01:00
|
|
|
my @nodes = @{$tree->{nodes}};
|
|
|
|
ok(@nodes > 0, 'i3 still lives');
|
|
|
|
|
|
|
|
diag( "Testing i3, Perl $], $^X" );
|