Re: unit tests: /usr/bin/touch vs /bin/touch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sergey,

On Thu, Sep 13, 2018, at 10:26 PM, Sergey wrote:
> Hello.
> 
> I attempted to run unit tests and got error:
> 
> Suite: command
>   Test: run ...FAILED
>     1. cunit/unit.c:115  - CU_FAIL_FATAL("Code under test exited")
> 
> This is result of wrong path to touch in my distro in cunit/command.testc:
> 
> r = run_command("/usr/bin/touch", canary, NULL);
> 
> I attempted to to find which daemon (or utility) used the touch
> but I not found it. Can I simply to change path in the command.testc?

Yeah, you should just be able to change that line in the command.testc and then recompile.
 
> btw. perhaps it makes sense to check the location of the touch
> by configure?

That seems pretty reasonable.  Can you manually fix it for now, and then let us know if you find any other mismatched paths like this?  Then we can patch them all in one go. :)

Cheers,

ellie
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux