Logged-In As
Not Logged In
Create ATF tests The NetBSD Project
Status: Closed Time to complete: 96 hrs Mentors: Julian Coleman, Julian Fagir Tags: C, sh, man, research

ATF is the automatic test framework for NetBSD. We strive to have automatic tests for all the important parts of our system: libraries, syscalls, binaries, etc.
Your task is to write such tests. You should read the ?tutorial about how to write an atf test, and then you can start testing things.
As testing is an endless task, here are just a few ideas about which items could be tested:

  • atomic_ops(3)
  • cdbr(3) and cdbw(3)
  • inet(3) and inet_net(3)
  • ethers(3) , iso_addr(3) and link_addr(3)
  • strtol(3) , strtoul(3) and strtoull(3)

Though this task is originally rather considered quality assurance, the actual test writing is only coding work (whether the test succeeds or not, is up to the original author of the library or tool).
The tests should be written in either C or sh, depending on the test subject.

READ THIS CAREFULLY: Every single written test is considered as one task. That is you don't need to cover all listed above, just one line.

If you think there is another test that should be added, but is not listed here, feel free to contact us. This task can be fulfilled multiple times and will be recreated once it is claimed.

Link to the wiki article describing atf:  http://wiki.netbsd.org/tutorials/atf/

Uploaded Work
File name/URL File size Date submitted
strtol.diff 12.2 KB December 10 2012 00:07 UTC
Philip Hayes on December 4 2012 17:16 UTC Task Claimed

I would like to work on this task.

Philip Hayes on December 4 2012 17:17 UTC Task

I think I'll write tests for strtol, strtoul, and strtoull.

Julian Fagir on December 4 2012 17:58 UTC Task Assigned

This task has been assigned to Philip Hayes. You have 96 hours to complete this task, good luck!

Philip Hayes on December 8 2012 07:10 UTC Might need an extension

I've had a ton of school work this week, so I haven't gotten around to finishing the task yet. I'lll definitely be able to finish it by late tomorrow or so. Thanks, - Philip

Melange on December 8 2012 17:58 UTC Initial Deadline passed

Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded. The student has 24 hours to submit the work before the task is reopened and sent back to the pool for other students to claim.

Julian Fagir on December 8 2012 20:11 UTC Deadline extended

The deadline of the task has been extended with 1 days and 0 hours.

Philip Hayes on December 10 2012 00:07 UTC Ready for review

The work on this task is ready to be reviewed.

Melange on December 10 2012 18:12 UTC No more Work can be submitted

Melange has detected that the deadline has passed and no more work can be submitted. The submitted work should be reviewed.

Radoslaw Kujawa on December 10 2012 22:16 UTC Well done!

Looks sw33t. I'm closing this task.

Radoslaw Kujawa on December 10 2012 22:17 UTC Task Closed

Congratulations, this task has been completed successfully.

Julian Fagir on December 10 2012 22:26 UTC There are more ATF tasks

Just a small reminder: There are more ATF tasks. So if you liked the previous tasks, feel free to claim the third one.

You don't have to work on the topics we define, you could also choose your own test issue if you find one.