Page MenuHomeFreeBSD
Feed Advanced Search

Jan 3 2018

shivansh updated the diff for D12249: Add tool for automated test generation.

Remove generated file

Jan 3 2018, 11:23 AM
shivansh updated the diff for D12249: Add tool for automated test generation.

Summary of changes: https://github.com/shivansh/smoketestsuite/compare/28ba84e...90006f3

Jan 3 2018, 10:41 AM

Dec 16 2017

shivansh updated the diff for D13427: Add basic tests for chio(1), cp(1), domainname(1), rm(1) and sync(8).

Address changes requested by @asomers.

Dec 16 2017, 5:46 PM

Dec 9 2017

shivansh updated the diff for D13427: Add basic tests for chio(1), cp(1), domainname(1), rm(1) and sync(8).

Address changes requested by @asomers

Dec 9 2017, 11:56 AM

Dec 8 2017

shivansh created D13427: Add basic tests for chio(1), cp(1), domainname(1), rm(1) and sync(8).
Dec 8 2017, 8:29 PM

Dec 7 2017

shivansh updated the diff for D12249: Add tool for automated test generation.

Add "batch mode" for test generation

Dec 7 2017, 4:24 PM

Dec 6 2017

shivansh updated the diff for D12249: Add tool for automated test generation.

Some more fixes and updates -

Dec 6 2017, 12:35 PM

Dec 5 2017

shivansh updated the diff for D12249: Add tool for automated test generation.

Address changes requested by @asomers -

Dec 5 2017, 6:08 PM
shivansh added inline comments to D12249: Add tool for automated test generation.
Dec 5 2017, 5:56 PM

Dec 1 2017

shivansh updated the diff for D12249: Add tool for automated test generation.

Some more fixes -

  • Fix (mysterious) segmentation fault encountered for some utilities -- turns out I made a blunder (hah!). Lesson learnt: NULL and "" are not equivalent.
  • Add logging functionality for perror() -- messages produced by perror() are now only available in debug mode, otherwise it disrupts the (rather good-looking) tabular format.
Dec 1 2017, 2:05 PM
shivansh updated the diff for D12249: Add tool for automated test generation.

Some more fixes and updates -

Dec 1 2017, 7:23 AM
shivansh updated the diff for D12249: Add tool for automated test generation.

Some more fixes -

Dec 1 2017, 3:54 AM

Nov 27 2017

shivansh updated the diff for D12249: Add tool for automated test generation.

Address changes requested by @asomers:

Nov 27 2017, 6:47 AM
shivansh updated the diff for D12249: Add tool for automated test generation.

Address changes requested by @asomers:

Nov 27 2017, 5:56 AM

Nov 25 2017

shivansh updated the diff for D12424: Add basic tests for chflags(1), ctfconvert(1), fold(1) and rs(1).

Remove test for chflags(1) -- already submitted in r323275.

Nov 25 2017, 7:38 PM

Oct 4 2017

shivansh updated the diff for D12424: Add basic tests for chflags(1), ctfconvert(1), fold(1) and rs(1).

Add .include <src.opts.mk> to every Makefile that references MK_TESTS

Oct 4 2017, 3:51 PM

Oct 2 2017

shivansh updated the diff for D12249: Add tool for automated test generation.

A few more changes/updates:

  • Generate a tabular-like format for the overall progress during execution.
  • Avoid hardcoding section numbers.
  • When select() fails and returns -1, cleanup and exit.
  • Makefile: update clean recipe.
Oct 2 2017, 3:19 PM

Sep 29 2017

shivansh updated the diff for D12249: Add tool for automated test generation.

Remove boost libs and header files which are no longer required

Sep 29 2017, 5:10 PM
shivansh updated the diff for D12249: Add tool for automated test generation.
  • Add functionality to kill (child) process when stuck on a blocking read.
Sep 29 2017, 5:02 PM

Sep 26 2017

shivansh added inline comments to D11315: Add tests for getfacl(1).
Sep 26 2017, 4:18 AM

Sep 25 2017

shivansh added inline comments to D12249: Add tool for automated test generation.
Sep 25 2017, 4:11 PM

Sep 21 2017

shivansh updated the summary of D12424: Add basic tests for chflags(1), ctfconvert(1), fold(1) and rs(1).
Sep 21 2017, 3:40 PM
shivansh updated the diff for D12424: Add basic tests for chflags(1), ctfconvert(1), fold(1) and rs(1).

Close stdin where required in the tests

Sep 21 2017, 3:39 PM

Sep 20 2017

shivansh updated the diff for D12249: Add tool for automated test generation.

[FIX] Avoid adding variable "usage_output" in case of an empty output

Sep 20 2017, 4:33 PM
shivansh created D12424: Add basic tests for chflags(1), ctfconvert(1), fold(1) and rs(1).
Sep 20 2017, 4:27 PM
shivansh updated the diff for D12249: Add tool for automated test generation.

A brief summary of changes [1] -

  • Skip processing the directory entries for "." and ".."
  • Increase the timeout value to 2
  • Perform a case-insensitive match with "usage:"
  • Remove the logic for checking if test scripts to be generated already exist. The current implementation for this functionality was incomplete, and will be reintroduced once fully implemented.
  • Remove local groff scripts and tests as a part of "clean" recipe
  • Remove bogus license file as it is prepended to all the files
Sep 20 2017, 3:04 PM

Sep 19 2017

shivansh updated the diff for D12249: Add tool for automated test generation.
  • Update scripts according to style(9)
  • Minor fixes concerning directory locations
Sep 19 2017, 5:46 PM
shivansh updated the diff for D12249: Add tool for automated test generation.

Update directory structure in README

Sep 19 2017, 2:40 PM
shivansh updated the diff for D12249: Add tool for automated test generation.

Address changes pointed by @asomers -

Sep 19 2017, 2:33 PM

Sep 9 2017

shivansh added inline comments to D12249: Add tool for automated test generation.
Sep 9 2017, 6:25 AM

Sep 8 2017

shivansh added inline comments to D12249: Add tool for automated test generation.
Sep 8 2017, 6:26 PM

Sep 6 2017

shivansh updated the diff for D12249: Add tool for automated test generation.

Minor updates:

  • Remove bogus files.
  • Update README.
Sep 6 2017, 7:40 PM
shivansh created D12249: Add tool for automated test generation.
Sep 6 2017, 7:19 PM

Aug 25 2017

shivansh updated the diff for D12036: Add basic tests generated via automation tool [1].

Address requested changes-

  • Avoid hardcoding usage string
  • Use "not-exit:0" for non-zero exit status
Aug 25 2017, 4:14 PM

Aug 24 2017

shivansh added a comment to D11315: Add tests for getfacl(1).

Oh no! I totally missed this diff, sorry ; Will update it today itself!

Aug 24 2017, 2:44 PM

Aug 15 2017

shivansh updated the summary of D12036: Add basic tests generated via automation tool [1].
Aug 15 2017, 2:42 PM
shivansh updated the diff for D12036: Add basic tests generated via automation tool [1].

Update etc/mtree/BSD.tests.dist

Aug 15 2017, 2:36 PM
shivansh created D12036: Add basic tests generated via automation tool [1].
Aug 15 2017, 2:29 PM

Jul 12 2017

shivansh updated the diff for D11315: Add tests for getfacl(1).
  • Improve the check for confirming POSIX.1e ACLs (sorry for the spam! :sigh:)
Jul 12 2017, 9:12 PM
shivansh updated the diff for D11315: Add tests for getfacl(1).
  • Remove redundant check
Jul 12 2017, 9:01 PM
shivansh updated the diff for D11315: Add tests for getfacl(1).
  • Update "check_acl()" to confirm if POSIX.1e ACLs are enabled
  • atf_set "require.user" "root" added to enable execution of tunefs(8)
Jul 12 2017, 8:47 PM

Jul 8 2017

shivansh created D11529: stdbuf(1): Add buffer definition "B" to the usage message.
Jul 8 2017, 11:31 AM

Jun 23 2017

shivansh updated the diff for D11315: Add tests for getfacl(1).
  • Refactor test-case names
  • Update commit message
Jun 23 2017, 7:25 AM
shivansh updated the diff for D11315: Add tests for getfacl(1).

Remove nop call for setting umask (shodowed by setfacl(1))

Jun 23 2017, 4:33 AM
shivansh created D11318: Style fixes: clean up leading whitespace (8 single column spaces -> \t).
Jun 23 2017, 3:35 AM
shivansh created D11315: Add tests for getfacl(1).
Jun 23 2017, 2:57 AM

Jun 20 2017

shivansh updated the diff for D11167: Fix behavior for '-F' option of ln(1).

Update comment

Jun 20 2017, 8:18 PM

Jun 13 2017

shivansh updated the diff for D11167: Fix behavior for '-F' option of ln(1).

Update comment

Jun 13 2017, 12:15 AM

Jun 12 2017

shivansh updated the summary of D11167: Fix behavior for '-F' option of ln(1).
Jun 12 2017, 10:52 PM
shivansh updated the diff for D11167: Fix behavior for '-F' option of ln(1).

Fix as per instructed by @asomers

Jun 12 2017, 10:51 PM
shivansh added a comment to D11167: Fix behavior for '-F' option of ln(1).

Oh, right! We can simply modify the if clause to skip it -

if (!Fflag && (isdir ||
	    (lstat(target, &sb) == 0 && S_ISDIR(sb.st_mode)) ||
	    (!hflag && stat(target, &sb) == 0 && S_ISDIR(sb.st_mode)))) {

Will wait for others to comment before updating.

Jun 12 2017, 10:33 PM
shivansh updated the summary of D11167: Fix behavior for '-F' option of ln(1).
Jun 12 2017, 10:18 PM
shivansh created D11167: Fix behavior for '-F' option of ln(1).
Jun 12 2017, 10:17 PM
shivansh updated the diff for D11159: Add test for '-F' option of ln(1).

Address changes pointed by @ngie -

Jun 12 2017, 4:25 PM
shivansh created D11159: Add test for '-F' option of ln(1).
Jun 12 2017, 3:56 PM
shivansh created D11158: Set umask appropriately before creating files for testing.
Jun 12 2017, 1:57 PM

Jun 8 2017

shivansh updated the diff for D11084: Add tests for ln(1).
  • Update position of ln in BSD.tests.dist
Jun 8 2017, 5:26 PM
shivansh updated the diff for D11084: Add tests for ln(1).

Address changes pointed by @asomers. Thanks for pointing these out!

  • Update the tests for '-shf', '-snf' and '-w' options
Jun 8 2017, 9:46 AM
shivansh updated the diff for D11084: Add tests for ln(1).
  • Check file types instead of modes
Jun 8 2017, 12:11 AM

Jun 7 2017

shivansh updated the diff for D11084: Add tests for ln(1).

Address changes pointed by @ngie

Jun 7 2017, 10:34 PM
shivansh created D11084: Add tests for ln(1).
Jun 7 2017, 6:55 PM

Jun 6 2017

shivansh updated the diff for D11020: Add test cases for cat(1).
  • Revert unrequired changes
Jun 6 2017, 6:11 PM
shivansh updated the diff for D11020: Add test cases for cat(1).

Revert changes done to the test-case se_output

Jun 6 2017, 5:31 PM
shivansh updated the diff for D11020: Add test cases for cat(1).

Address comment by @ngie -

Jun 6 2017, 4:29 PM
shivansh updated the diff for D11036: Add tests for bin/echo.

Address changes pointed by @ngie

Jun 6 2017, 10:52 AM
shivansh updated the diff for D11036: Add tests for bin/echo.

Address changes -

Jun 6 2017, 12:10 AM

Jun 3 2017

shivansh created D11036: Add tests for bin/echo.
Jun 3 2017, 7:55 PM

Jun 2 2017

shivansh updated the diff for D11020: Add test cases for cat(1).

Update the introduced changes pertaining to guidelines stated by @ngie

Jun 2 2017, 1:55 PM
shivansh added a comment to D11020: Add test cases for cat(1).

I was advised by @asomers not to make any updates in contrib/netbsd-tests/bin/cat and that they should be made in bin/cat/tests.
If it is advisable to make updates in the former, I'll do so accordingly.

Jun 2 2017, 4:09 AM

Jun 1 2017

shivansh updated the diff for D11020: Add test cases for cat(1).

Address changes mentioned by @asomers

Jun 1 2017, 10:41 PM
shivansh created D11020: Add test cases for cat(1).
Jun 1 2017, 9:21 PM