2011-10-08 09:38:50 -04:00
|
|
|
#!perl
|
|
|
|
# vim:ts=4:sw=4:expandtab
|
|
|
|
#
|
2012-09-10 08:09:01 -04:00
|
|
|
# Please read the following documents before working on tests:
|
|
|
|
# • http://build.i3wm.org/docs/testsuite.html
|
|
|
|
# (or docs/testsuite)
|
|
|
|
#
|
|
|
|
# • http://build.i3wm.org/docs/lib-i3test.html
|
|
|
|
# (alternatively: perldoc ./testcases/lib/i3test.pm)
|
|
|
|
#
|
|
|
|
# • http://build.i3wm.org/docs/ipc.html
|
|
|
|
# (or docs/ipc)
|
|
|
|
#
|
|
|
|
# • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
|
|
|
|
# (unless you are already familiar with Perl)
|
|
|
|
#
|
2011-10-08 09:38:50 -04:00
|
|
|
# checks if i3 supports I3_SYNC
|
|
|
|
#
|
|
|
|
use i3test;
|
|
|
|
|
2011-11-21 19:13:37 -05:00
|
|
|
my $result = sync_with_i3;
|
2011-10-08 09:38:50 -04:00
|
|
|
ok($result, 'syncing was successful');
|
|
|
|
|
|
|
|
done_testing;
|