aboutsummaryrefslogtreecommitdiffstats
path: root/t/001-setup.t
blob: 0c6578c06a8da19832853173ebe8c5e975e5959f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env perl

use strict;
use warnings;

use Test::More;

system('mkdir -p t/git-repo');
ok !$?;

chdir 't/git-repo' or die $!;

system('git init');
ok !$?;

system('cp ../../pre-commit .git/hooks');
ok !$?;

system('chmod +x .git/hooks/pre-commit');
ok !$?;

done_testing;