[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Suggestion: new module link
From: |
Bruno Haible |
Subject: |
Re: [PATCH] Suggestion: new module link |
Date: |
Sun, 18 Jan 2009 19:42:11 +0100 |
User-agent: |
KMail/1.9.9 |
Hello Martin,
Can you please also provide a unit test for this module?
The minimal test is probably to
- create one file,
- use link() to create a new name for it,
- then verify that the contents is the same,
- then modify the contents of the first one,
- then verify the contents is again the same,
- then modify the contents of the second one,
- then verify the contents is again the same,
- then delete the first one,
- verify the second one is still there and has the previous contents,
- then delete the second one.
I would implement this test as a combination of a .sh script and a .c file
for actually creating the link.
Bruno