X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/d5c11e43b9e6e8fb25206af2a56da6381a4a00e4..83ae3460b51c674802a6ab4859cbe8450e9e210c:/t/100-init.t?ds=inline diff --git a/t/100-init.t b/t/100-init.t index f8cb5ef..15ce922 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,9 +16,9 @@ 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"; +ok $output eq "Initialized empty Git repository in " . $ENV{'HOME'} . "/.config/vcsh/repo.d/test1.git/\n"; $output = `./vcsh status`; @@ -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';