X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/9bb603de8a2a49172513c41ccc8fb4309f90bb95..73658dcd2c73106375cab7f649bce7be02836ca0:/t/300-add.t diff --git a/t/300-add.t b/t/300-add.t index 6c8b9cd..58843c8 100644 --- a/t/300-add.t +++ b/t/300-add.t @@ -12,21 +12,24 @@ chdir 't/etc/' or die $!; $ENV{'HOME'} = abs_path ('.vcsh_home'); +chdir '.vcsh_home' or die $!; + eval { touch 'a'; }; die $@ if $@; -system ("./vcsh test1 add 'a'"); +system (".././vcsh test1 add 'a'"); -my $output = `./vcsh status`; +my $output = `.././vcsh status`; diag $output; ok $output eq "test1: -A a -", 'Adding a file worksl'; +A a + +", 'Adding a file works'; done_testing;