Skip to content
Snippets Groups Projects
Commit dda98022 authored by Errietta Kostala's avatar Errietta Kostala
Browse files

vcsh add test

parent 8c86f455
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/perl
use strict;
use warnings;
use Cwd 'abs_path';
use Shell::Command;
use Test::Most;
chdir 't/etc/' or die $!;
$ENV{'HOME'} = abs_path ('.vcsh_home');
eval {
touch 'a';
};
die $@ if $@;
system ("./vcsh -d test1 add 'a'");
my $output = `./vcsh status`;
diag $output;
ok $output eq "test1:
A a
", 'Adding a file worksl';
done_testing;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment