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


Reply via email to