X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/d5c11e43b9e6e8fb25206af2a56da6381a4a00e4..5b1b551418efe890bec37aa79d3d16346d96d0f0:/t/100-init.t diff --git a/t/100-init.t b/t/100-init.t index f8cb5ef..74facc0 100644 --- a/t/100-init.t +++ b/t/100-init.t @@ -1,5 +1,7 @@ #!/usr/bin/perl +BEGIN { $ENV{LC_ALL} = 'C' } + use strict; use warnings; @@ -14,7 +16,7 @@ my $output = `./vcsh status`; ok $output eq "", 'No repos set up yet.'; -$output = `LC_ALL=C ./vcsh init test1`; +$output = `./vcsh init test1`; ok $output eq "Initialized empty shared Git repository in " . $ENV{'HOME'} . "/.config/vcsh/repo.d/test1.git/\n"; @@ -25,7 +27,6 @@ ok $output eq "test1:\n\n", 'Our new repo is there'; chdir $ENV{"HOME"} . '/.config/vcsh/repo.d/test1.git/' or die $!; ok -f 'HEAD'; -ok -d 'branches'; ok -f 'config'; ok -f 'description'; ok -d 'hooks';