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

Sergey <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
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?

btw. perhaps it makes sense to check the location of the touch
by configure?

-- 
Regards, Sergey
----
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.