Christian Ohler <[EMAIL PROTECTED]> writes:

> Sorry for the delay.  Here's my attempt at a patch to add such a test
> case to monotone.

Thanks.

I've learned more about how the monotone tests work; an 'xfail'
terminates the test. So I'll add this as a separate test, to be fixed
sometime. Hmm. Maybe I can just fix it now :).

In the meantime, DVC can interpret the mtn failure as meaning "file
not registered".

> +xfail(mtn("automate", "inventory", "unversioned_file"), 0, true, false)
> +
> +parsed = parse_basic_io(readfile("stdout"))
> +index = 1
> +
> +-- skip tester-generated files
> +index = index + 3 * 10
> +
> +index = check_inventory (parsed, index,
> +{    path = "unversioned_file",
> +  fs_type = "file",
> +   status = {"unknown"}})
> +
> +-- prove that we checked all the output
> +checkexp ("checked all", #parsed, index-1)
> +
>  -- end of file

-- 
-- Stephe


_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to