Page MenuHomeFreeBSD

paggas1_yandex.com (Panagiotes Mousikides)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 23 2017, 11:21 AM (366 w, 15 h)

Recent Activity

Sep 15 2017

paggas1_yandex.com updated the diff for D11401: Kernel pf tests.

New version. A summary of changes since the last one, pulled from git, is shown below:

  • tests: pf: Typo.
  • tests: pf: Added address prefix variables in all tests.
  • tests: pf: Fixed scrub_forward by changing implementation.
  • tests: pf: Renamed test scrub_forward to scrub.
  • tests: pf: Updated documentation of pf_test_scrub.sh.
  • tests: pf: Changed idea in "Future work" section of README.
  • tests: pf: Reduced boilerplate code.
  • tests: pf: Reduced boilerplate code, IPv6 functions.
  • tests: pf: Changed test names.
  • tests: pf: Improved network interface creation code.
  • tests: pf: Function calling examples.
  • tests: pf: Added init_test function.
Sep 15 2017, 12:54 AM

Sep 9 2017

paggas1_yandex.com updated the diff for D11401: Kernel pf tests.

New version. A summary of changes since the last one, pulled from git, is shown below:

Sep 9 2017, 9:04 AM

Sep 8 2017

paggas1_yandex.com added a comment to D11401: Kernel pf tests.

I had already changed the coding style, mostly regarding error checking,
to use if blocks when suitable. I didn't change the indentation
however, as it needed some rethinking regarding error checking and
cleanup code. I will change it to use tabs as soon as possible.

Sep 8 2017, 6:34 PM
paggas1_yandex.com added a comment to D11401: Kernel pf tests.

I've made a change which I'm testing currently, running pkg with the -r
flag instead of chrooting. Will commit if it works.

Sep 8 2017, 6:32 PM

Sep 7 2017

paggas1_yandex.com updated the diff for D11401: Kernel pf tests.

New version. A summary of changes since the last one, pulled from git, is shown below:

Sep 7 2017, 12:33 AM

Sep 1 2017

paggas1_yandex.com updated the diff for D11401: Kernel pf tests.
  • Fix mtree and makefiles.
  • Split tests into separate files.
  • Some documentation.
  • Improve error handling and reporting.
  • Some style fixing.
Sep 1 2017, 1:48 AM

Aug 29 2017

paggas1_yandex.com updated the diff for D11401: Kernel pf tests.

More work.

Aug 29 2017, 3:21 PM
paggas1_yandex.com updated the diff for D11401: Kernel pf tests.

Work on make_baseimg.sh.

Aug 29 2017, 11:10 AM
paggas1_yandex.com updated the diff for D11401: Kernel pf tests.

More work.

Aug 29 2017, 2:02 AM

Aug 28 2017

paggas1_yandex.com updated the diff for D11401: Kernel pf tests.

New version.

Aug 28 2017, 11:52 PM
paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

Reverted to previous version (last update was a mistake).

Aug 28 2017, 11:50 PM · GSoC Students
paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

New version.

Aug 28 2017, 11:46 PM · GSoC Students
paggas1_yandex.com retitled D11401: Kernel pf tests from Preliminary kernel pf tests to Kernel pf tests.
Aug 28 2017, 10:55 PM

Jul 13 2017

paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

Added workaround so that the test files get installed correctly.

Jul 13 2017, 11:50 PM · GSoC Students
paggas1_yandex.com added a comment to D11322: Tests for pfctl.
In D11322#239521, @kristof wrote:

I think you're also missing the connection in the pfctl makefile. I've been looking at sbin/mdconfig as an example and it has this:

.if ${MK_TESTS} != "no"
SUBDIR+=    tests
.endif
Jul 13 2017, 2:51 AM · GSoC Students
paggas1_yandex.com added a comment to D11322: Tests for pfctl.
In D11322#234898, @kristof wrote:

It might also be worth seeing if you can add a couple of tests for ALTQ.
That's also interesting to consider because ALTQ is an optional feature and might not be available in the running kernel.
That'd mean you'd have to have test metadata to figure out if you can sensibly run the test on this system or not (presumably kyua understands the concept of a skipped test).

Jul 13 2017, 2:47 AM · GSoC Students
paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

Fixed various issues.

Jul 13 2017, 2:44 AM · GSoC Students

Jul 12 2017

paggas1_yandex.com updated the summary of D11322: Tests for pfctl.
Jul 12 2017, 5:22 PM · GSoC Students
paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

Removed hardcoded binary path. Also moved tests under src/sbin/pfctl/tests.

Jul 12 2017, 5:20 PM · GSoC Students

Jul 11 2017

paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

Use pfctl from PATH, instead of custom location.

Jul 11 2017, 11:55 PM · GSoC Students
paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

Added tests/sbin/Kyuafile. 'make install' as root still fails because of missing directories under '/usr/tests'.

Jul 11 2017, 12:37 PM · GSoC Students
paggas1_yandex.com retitled D11322: Tests for pfctl from Preliminary tests for pfctl to Tests for pfctl.
Jul 11 2017, 12:35 PM · GSoC Students

Jul 8 2017

paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

Uploaded correct diff.

Jul 8 2017, 5:31 PM · GSoC Students

Jul 7 2017

paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

Cleaned-up version, with improved test descriptions.

Jul 7 2017, 11:58 PM · GSoC Students

Jul 6 2017

paggas1_yandex.com updated the diff for D11401: Kernel pf tests.

Only the diff pertaining to kernel pf tests is now included.

Jul 6 2017, 6:08 PM
paggas1_yandex.com retitled D11401: Kernel pf tests from Refactored build system, preliminary kernel tests to Preliminary kernel pf tests.
Jul 6 2017, 6:06 PM

Jul 4 2017

paggas1_yandex.com added a comment to D11401: Kernel pf tests.

Will do!

Jul 4 2017, 8:12 PM

Jun 29 2017

paggas1_yandex.com created D11401: Kernel pf tests.
Jun 29 2017, 1:25 AM
paggas1_yandex.com added a comment to D11322: Tests for pfctl.

Den 2017-06-28 kl. 20:14, skrev kristof (Kristof Provost):

kristof added a comment.

It'd also be good to include the changes required to hook up the sbin/pfctl/Kyuafile to the tests Kyuafile.
Your GitHub repo has a symlink to get recursive behaviour out of Kyua, but there's basically no other symlinks in the repo, so let's avoid that. I'd add a simple include Kyuafile, like ./contrib/atf/Kyuafile does.

Done! I've changed the Kyuafiles now, and started using Makefiles
extensively. This also means that tests can be installed to /usr/tests
and run from there, or run from the source directory.

INLINE COMMENTS

pfctl_test.sh:32
+ atf_test_case "pf${i}"
+ eval "pf${i}_head () { atf_set descr $(pf${i}_descr) ; }"
+ eval "pf${i}_body () { \

Wouldn't this allow descriptions with spaces (and optionally multiline):

eval "pf${if}_head() { atf_set descr \"$(pf${i}_descr)\" ; }"

I also wonder if it wouldn't be better to put the description in a per-test file. pf1004.descr for example.

That is true, it was mostly a quick solution. I did the change above
and it works now.

test_altq.c:3
+
+#include <sys/types.h>
+#include <net/if.h>

This file isn't used yet, right? I'd leave that out of this, and add it in a subsequent patch.

I have removed it now.

Jun 29 2017, 1:22 AM · GSoC Students

Jun 28 2017

paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

Added a small utility that checks for ALTQ support in the kernel. Also improved integration with the build system.

Jun 28 2017, 6:19 PM · GSoC Students

Jun 26 2017

paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

tests/sbin/pfctl: improved test descriptions

Jun 26 2017, 10:16 PM · GSoC Students
paggas1_yandex.com updated the diff for D11322: Tests for pfctl.

tests/sbin/pfctl: removed empty tests

Jun 26 2017, 5:14 PM · GSoC Students

Jun 23 2017

paggas1_yandex.com added a reviewer for D11322: Tests for pfctl: kp.
Jun 23 2017, 12:22 PM · GSoC Students
paggas1_yandex.com removed a reviewer for D11322: Tests for pfctl: paggas1_yandex.com.
Jun 23 2017, 12:22 PM · GSoC Students
paggas1_yandex.com created D11322: Tests for pfctl.
Jun 23 2017, 12:21 PM · GSoC Students