DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: dfregress,tbridge - Move into usr.bin and sys/dev


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Nov 2011 15:04:47 -0800 (PST)

commit a563ca70e68142ccf7f50a6f129665fd8cb66d98
Author: Alex Hornung <ahornung@gmail.com>
Date:   Wed Nov 16 10:46:08 2011 +0000

    dfregress,tbridge - Move into usr.bin and sys/dev
    
     * cleanup of the testcases, remove duplicates, consolidate in
       test/testcases.

Summary of changes:
 sys/dev/misc/Makefile                              |    2 +-
 sys/dev/misc/tbridge/Makefile                      |    4 +
 sys/dev/misc/tbridge/safe_mem.c                    |  191 ++
 sys/dev/misc/tbridge/safe_mem.h                    |   40 +
 sys/dev/misc/tbridge/tbridge.c                     |  343 +++
 sys/sys/tbridge.h                                  |   86 +
 test/dfregress/config/defaults.conf                |    4 -
 test/dfregress/driver/Makefile                     |   13 -
 test/dfregress/driver/config.c                     |   59 -
 test/dfregress/driver/kernel.c                     |  145 --
 test/dfregress/driver/main.c                       |  103 -
 test/dfregress/driver/runlist.c                    |  312 ---
 test/dfregress/driver/testcase.c                   |  695 ------
 test/dfregress/driver/userland.c                   |  295 ---
 test/dfregress/fe/text/Makefile                    |   18 -
 test/dfregress/fe/text/fe_text.c                   |  223 --
 test/dfregress/framework/tbridge.h                 |   72 -
 test/dfregress/framework/test.txt                  |    2 -
 test/dfregress/kernel_bridge/Makefile              |    4 -
 test/dfregress/kernel_bridge/dfregress_bridge.c    |  344 ---
 test/dfregress/kernel_bridge/safe_mem.c            |  191 --
 test/dfregress/testcases/Makefile                  |   10 -
 test/dfregress/testcases/crypto/aes/Makefile       |    4 -
 test/dfregress/testcases/crypto/aes/aestest.c      |  366 ---
 test/dfregress/testcases/crypto/aes/ecbnk44.txt    |  779 -------
 test/dfregress/testcases/crypto/aes/ecbnk48.txt    | 1547 -------------
 test/dfregress/testcases/crypto/aes/ecbnt44.txt    |  779 -------
 test/dfregress/testcases/crypto/aes/ecbnt48.txt    |  779 -------
 test/dfregress/testcases/crypto/aes/ecbvk44.txt    |  398 ----
 test/dfregress/testcases/crypto/aes/ecbvk48.txt    |  782 -------
 test/dfregress/testcases/crypto/aes/ecbvt44.txt    |  398 ----
 test/dfregress/testcases/crypto/aes/ecbvt48.txt    |  398 ----
 test/dfregress/testcases/crypto/aesctr/Makefile    |    4 -
 test/dfregress/testcases/crypto/aesctr/aesctr.c    |  295 ---
 test/dfregress/testcases/crypto/aesxts/Makefile    |    4 -
 test/dfregress/testcases/crypto/aesxts/aes_xts.c   | 1848 ----------------
 test/dfregress/testcases/crypto/serpent/Makefile   |    4 -
 .../testcases/crypto/serpent/serpent_test.c        |  394 ----
 .../testcases/crypto/serpent/serpentecb_vk.txt     | 2334 --------------------
 .../testcases/crypto/serpent/serpentecb_vt.txt     | 1566 -------------
 test/dfregress/testcases/crypto/twofish/Makefile   |    4 -
 .../testcases/crypto/twofish/twofish_test.c        |  394 ----
 .../testcases/crypto/twofish/twofishecb_vk.txt     | 2334 --------------------
 .../testcases/crypto/twofish/twofishecb_vt.txt     | 1566 -------------
 test/dfregress/testcases/io/select_2/select_2.c    |   30 -
 test/testcases/Makefile                            |   11 +
 test/{dfregress => }/testcases/compiler/Makefile   |    0
 .../testcases/compiler/div128/Makefile             |    0
 .../testcases/compiler/div128/div128.c             |    0
 test/{dfregress => }/testcases/crypto/Makefile     |    0
 test/{ => testcases}/crypto/aes/Makefile           |    0
 test/{ => testcases}/crypto/aes/aestest.c          |    0
 test/{ => testcases}/crypto/aes/ecbnk44.txt        |    0
 test/{ => testcases}/crypto/aes/ecbnk48.txt        |    0
 test/{ => testcases}/crypto/aes/ecbnt44.txt        |    0
 test/{ => testcases}/crypto/aes/ecbnt48.txt        |    0
 test/{ => testcases}/crypto/aes/ecbvk44.txt        |    0
 test/{ => testcases}/crypto/aes/ecbvk48.txt        |    0
 test/{ => testcases}/crypto/aes/ecbvt44.txt        |    0
 test/{ => testcases}/crypto/aes/ecbvt48.txt        |    0
 test/{ => testcases}/crypto/aesctr/Makefile        |    0
 test/{ => testcases}/crypto/aesctr/aesctr.c        |    0
 test/{ => testcases}/crypto/aesxts/Makefile        |    0
 test/{ => testcases}/crypto/aesxts/aes_xts.c       |    0
 test/{ => testcases}/crypto/serpent/Makefile       |    0
 test/{ => testcases}/crypto/serpent/serpent_test.c |    0
 .../crypto/serpent/serpentecb_vk.txt               |    0
 .../crypto/serpent/serpentecb_vt.txt               |    0
 test/{ => testcases}/crypto/twofish/Makefile       |    0
 test/{ => testcases}/crypto/twofish/twofish_test.c |    0
 .../crypto/twofish/twofishecb_vk.txt               |    0
 .../crypto/twofish/twofishecb_vt.txt               |    0
 test/{dfregress => }/testcases/io/Makefile         |    0
 .../{dfregress => }/testcases/io/kqueue_1/Makefile |    0
 .../testcases/io/kqueue_1/kqueue_1.c               |    0
 .../{dfregress => }/testcases/io/kqueue_2/Makefile |    0
 .../testcases/io/kqueue_2/kqueue_2.c               |    0
 .../testcases/io/pselect_1/Makefile                |    0
 .../testcases/io/pselect_1/pselect_1.c             |    0
 .../{dfregress => }/testcases/io/select_1/Makefile |    0
 .../testcases/io/select_1/select_1.c               |    0
 .../{dfregress => }/testcases/io/select_2/Makefile |    0
 test/testcases/io/select_2/select_2.c              |   34 +
 .../{dfregress => }/testcases/io/select_3/Makefile |    0
 .../testcases/io/select_3/select_3.c               |    0
 .../{dfregress => }/testcases/io/select_4/Makefile |    0
 .../testcases/io/select_4/select_4.c               |    0
 .../{dfregress => }/testcases/io/sendfd_1/Makefile |    0
 .../testcases/io/sendfd_1/sendfd_1.c               |    0
 test/{dfregress => }/testcases/mem/Makefile        |    0
 test/{dfregress => }/testcases/mem/mmap_1/Makefile |    0
 test/{dfregress => }/testcases/mem/mmap_1/mmap_1.c |    0
 .../testcases/mem/mmap_madvise_1/Makefile          |    0
 .../testcases/mem/mmap_madvise_1/mmap_madvise_1.c  |    0
 test/{dfregress => }/testcases/misc/Makefile       |    0
 test/{dfregress => }/testcases/misc/sh_1/Makefile  |    0
 test/{dfregress => }/testcases/misc/sh_1/sh_1.sh   |    0
 test/{dfregress => }/testcases/priv/Makefile       |    0
 .../testcases/priv/setreuid/Makefile               |    0
 .../testcases/priv/setreuid/setreuid.c             |    0
 test/testcases/runlist.run                         |   38 +
 .../config/runlist.run => testcases/sample.run}    |    0
 test/{dfregress => }/testcases/sample/Makefile     |    0
 .../testcases/sample/test1/Makefile                |    0
 .../{dfregress => }/testcases/sample/test1/test1.c |    0
 .../testcases/sample/test2/Makefile                |    0
 .../{dfregress => }/testcases/sample/test2/test2.c |    0
 .../testcases/sample/test3/Makefile                |    0
 .../{dfregress => }/testcases/sample/test3/test3.c |    0
 .../testcases/sample/test4/Makefile                |    0
 .../{dfregress => }/testcases/sample/test4/test4.c |    0
 .../testcases/sample/test5/Makefile                |    0
 .../{dfregress => }/testcases/sample/test5/test5.c |    0
 .../testcases/sample/testb1/Makefile               |    0
 .../testcases/sample/testb1/testb1.c               |    0
 .../testcases/sample/testk1/Makefile               |    0
 .../testcases/sample/testk1/testk1.c               |    0
 .../testcases/sample/testk2/Makefile               |    0
 .../testcases/sample/testk2/testk1.c               |    0
 test/testcases/sysv/Makefile                       |    5 +
 .../testcases/sysv}/sysvmsg/Makefile               |    0
 .../testcases/sysv}/sysvmsg/README                 |    0
 .../testcases/sysv}/sysvmsg/msgtest.c              |    0
 .../testcases/sysv}/sysvsem/Makefile               |    0
 .../testcases/sysv}/sysvsem/README                 |    0
 .../testcases/sysv}/sysvsem/semtest.c              |    0
 .../testcases/sysv}/sysvshm/Makefile               |    0
 .../testcases/sysv}/sysvshm/README                 |    0
 .../testcases/sysv}/sysvshm/shmtest.c              |    0
 test/{dfregress => }/testcases/threads/Makefile    |    0
 .../testcases/threads/umtx_errno/Makefile          |    0
 .../testcases/threads/umtx_errno/umtx_errno.c      |    0
 tools/test/kqueue/Makefile                         |    8 -
 tools/test/kqueue/kqueue_oob.c                     |   62 -
 tools/test/select/Makefile                         |    8 -
 tools/test/select/select_eof.c                     |   30 -
 tools/test/select/select_many_write.c              |   33 -
 tools/test/select/select_oob.c                     |   57 -
 usr.bin/Makefile                                   |    1 +
 usr.bin/dfregress/Makefile                         |   15 +
 .../installer => usr.bin/dfregress}/Makefile.inc   |    0
 {test => usr.bin}/dfregress/NOTES                  |    0
 usr.bin/dfregress/config.c                         |   59 +
 .../driver => usr.bin/dfregress}/config.h          |    0
 .../framework => usr.bin/dfregress}/dfregress.h    |    0
 usr.bin/dfregress/fe/Makefile                      |    3 +
 .../dfregress/fe}/Makefile.inc                     |    0
 usr.bin/dfregress/fe/text/Makefile                 |   18 +
 usr.bin/dfregress/fe/text/fe_text.c                |  223 ++
 usr.bin/dfregress/kernel.c                         |  145 ++
 .../driver => usr.bin/dfregress}/kernel.h          |    0
 usr.bin/dfregress/main.c                           |  103 +
 .../driver => usr.bin/dfregress}/parser.c          |    0
 .../driver => usr.bin/dfregress}/parser.h          |    0
 usr.bin/dfregress/runlist.c                        |  312 +++
 .../driver => usr.bin/dfregress}/runlist.h         |    0
 usr.bin/dfregress/testcase.c                       |  695 ++++++
 .../driver => usr.bin/dfregress}/testcase.h        |    0
 usr.bin/dfregress/userland.c                       |  295 +++
 .../driver => usr.bin/dfregress}/userland.h        |    0
 160 files changed, 2622 insertions(+), 19696 deletions(-)
 create mode 100644 sys/dev/misc/tbridge/Makefile
 create mode 100644 sys/dev/misc/tbridge/safe_mem.c
 create mode 100644 sys/dev/misc/tbridge/safe_mem.h
 create mode 100644 sys/dev/misc/tbridge/tbridge.c
 create mode 100644 sys/sys/tbridge.h
 delete mode 100644 test/dfregress/config/defaults.conf
 delete mode 100644 test/dfregress/driver/Makefile
 delete mode 100644 test/dfregress/driver/config.c
 delete mode 100644 test/dfregress/driver/kernel.c
 delete mode 100644 test/dfregress/driver/main.c
 delete mode 100644 test/dfregress/driver/runlist.c
 delete mode 100644 test/dfregress/driver/testcase.c
 delete mode 100644 test/dfregress/driver/userland.c
 delete mode 100644 test/dfregress/fe/text/Makefile
 delete mode 100644 test/dfregress/fe/text/fe_text.c
 delete mode 100644 test/dfregress/framework/tbridge.h
 delete mode 100644 test/dfregress/framework/test.txt
 delete mode 100644 test/dfregress/kernel_bridge/Makefile
 delete mode 100644 test/dfregress/kernel_bridge/dfregress_bridge.c
 delete mode 100644 test/dfregress/kernel_bridge/safe_mem.c
 delete mode 100644 test/dfregress/testcases/Makefile
 delete mode 100644 test/dfregress/testcases/crypto/aes/Makefile
 delete mode 100644 test/dfregress/testcases/crypto/aes/aestest.c
 delete mode 100644 test/dfregress/testcases/crypto/aes/ecbnk44.txt
 delete mode 100644 test/dfregress/testcases/crypto/aes/ecbnk48.txt
 delete mode 100644 test/dfregress/testcases/crypto/aes/ecbnt44.txt
 delete mode 100644 test/dfregress/testcases/crypto/aes/ecbnt48.txt
 delete mode 100644 test/dfregress/testcases/crypto/aes/ecbvk44.txt
 delete mode 100644 test/dfregress/testcases/crypto/aes/ecbvk48.txt
 delete mode 100644 test/dfregress/testcases/crypto/aes/ecbvt44.txt
 delete mode 100644 test/dfregress/testcases/crypto/aes/ecbvt48.txt
 delete mode 100644 test/dfregress/testcases/crypto/aesctr/Makefile
 delete mode 100644 test/dfregress/testcases/crypto/aesctr/aesctr.c
 delete mode 100644 test/dfregress/testcases/crypto/aesxts/Makefile
 delete mode 100644 test/dfregress/testcases/crypto/aesxts/aes_xts.c
 delete mode 100644 test/dfregress/testcases/crypto/serpent/Makefile
 delete mode 100644 test/dfregress/testcases/crypto/serpent/serpent_test.c
 delete mode 100644 test/dfregress/testcases/crypto/serpent/serpentecb_vk.txt
 delete mode 100644 test/dfregress/testcases/crypto/serpent/serpentecb_vt.txt
 delete mode 100644 test/dfregress/testcases/crypto/twofish/Makefile
 delete mode 100644 test/dfregress/testcases/crypto/twofish/twofish_test.c
 delete mode 100644 test/dfregress/testcases/crypto/twofish/twofishecb_vk.txt
 delete mode 100644 test/dfregress/testcases/crypto/twofish/twofishecb_vt.txt
 delete mode 100644 test/dfregress/testcases/io/select_2/select_2.c
 create mode 100644 test/testcases/Makefile
 rename test/{dfregress => }/testcases/compiler/Makefile (100%)
 rename test/{dfregress => }/testcases/compiler/div128/Makefile (100%)
 rename test/{dfregress => }/testcases/compiler/div128/div128.c (100%)
 rename test/{dfregress => }/testcases/crypto/Makefile (100%)
 rename test/{ => testcases}/crypto/aes/Makefile (100%)
 rename test/{ => testcases}/crypto/aes/aestest.c (100%)
 rename test/{ => testcases}/crypto/aes/ecbnk44.txt (100%)
 rename test/{ => testcases}/crypto/aes/ecbnk48.txt (100%)
 rename test/{ => testcases}/crypto/aes/ecbnt44.txt (100%)
 rename test/{ => testcases}/crypto/aes/ecbnt48.txt (100%)
 rename test/{ => testcases}/crypto/aes/ecbvk44.txt (100%)
 rename test/{ => testcases}/crypto/aes/ecbvk48.txt (100%)
 rename test/{ => testcases}/crypto/aes/ecbvt44.txt (100%)
 rename test/{ => testcases}/crypto/aes/ecbvt48.txt (100%)
 rename test/{ => testcases}/crypto/aesctr/Makefile (100%)
 rename test/{ => testcases}/crypto/aesctr/aesctr.c (100%)
 rename test/{ => testcases}/crypto/aesxts/Makefile (100%)
 rename test/{ => testcases}/crypto/aesxts/aes_xts.c (100%)
 rename test/{ => testcases}/crypto/serpent/Makefile (100%)
 rename test/{ => testcases}/crypto/serpent/serpent_test.c (100%)
 rename test/{ => testcases}/crypto/serpent/serpentecb_vk.txt (100%)
 rename test/{ => testcases}/crypto/serpent/serpentecb_vt.txt (100%)
 rename test/{ => testcases}/crypto/twofish/Makefile (100%)
 rename test/{ => testcases}/crypto/twofish/twofish_test.c (100%)
 rename test/{ => testcases}/crypto/twofish/twofishecb_vk.txt (100%)
 rename test/{ => testcases}/crypto/twofish/twofishecb_vt.txt (100%)
 rename test/{dfregress => }/testcases/io/Makefile (100%)
 rename test/{dfregress => }/testcases/io/kqueue_1/Makefile (100%)
 rename test/{dfregress => }/testcases/io/kqueue_1/kqueue_1.c (100%)
 rename test/{dfregress => }/testcases/io/kqueue_2/Makefile (100%)
 rename test/{dfregress => }/testcases/io/kqueue_2/kqueue_2.c (100%)
 rename test/{dfregress => }/testcases/io/pselect_1/Makefile (100%)
 rename test/{dfregress => }/testcases/io/pselect_1/pselect_1.c (100%)
 rename test/{dfregress => }/testcases/io/select_1/Makefile (100%)
 rename test/{dfregress => }/testcases/io/select_1/select_1.c (100%)
 rename test/{dfregress => }/testcases/io/select_2/Makefile (100%)
 create mode 100644 test/testcases/io/select_2/select_2.c
 rename test/{dfregress => }/testcases/io/select_3/Makefile (100%)
 rename test/{dfregress => }/testcases/io/select_3/select_3.c (100%)
 rename test/{dfregress => }/testcases/io/select_4/Makefile (100%)
 rename test/{dfregress => }/testcases/io/select_4/select_4.c (100%)
 rename test/{dfregress => }/testcases/io/sendfd_1/Makefile (100%)
 rename test/{dfregress => }/testcases/io/sendfd_1/sendfd_1.c (100%)
 rename test/{dfregress => }/testcases/mem/Makefile (100%)
 rename test/{dfregress => }/testcases/mem/mmap_1/Makefile (100%)
 rename test/{dfregress => }/testcases/mem/mmap_1/mmap_1.c (100%)
 rename test/{dfregress => }/testcases/mem/mmap_madvise_1/Makefile (100%)
 rename test/{dfregress => }/testcases/mem/mmap_madvise_1/mmap_madvise_1.c (100%)
 rename test/{dfregress => }/testcases/misc/Makefile (100%)
 rename test/{dfregress => }/testcases/misc/sh_1/Makefile (100%)
 rename test/{dfregress => }/testcases/misc/sh_1/sh_1.sh (100%)
 rename test/{dfregress => }/testcases/priv/Makefile (100%)
 rename test/{dfregress => }/testcases/priv/setreuid/Makefile (100%)
 rename test/{dfregress => }/testcases/priv/setreuid/setreuid.c (100%)
 create mode 100644 test/testcases/runlist.run
 rename test/{dfregress/config/runlist.run => testcases/sample.run} (100%)
 rename test/{dfregress => }/testcases/sample/Makefile (100%)
 rename test/{dfregress => }/testcases/sample/test1/Makefile (100%)
 rename test/{dfregress => }/testcases/sample/test1/test1.c (100%)
 rename test/{dfregress => }/testcases/sample/test2/Makefile (100%)
 rename test/{dfregress => }/testcases/sample/test2/test2.c (100%)
 rename test/{dfregress => }/testcases/sample/test3/Makefile (100%)
 rename test/{dfregress => }/testcases/sample/test3/test3.c (100%)
 rename test/{dfregress => }/testcases/sample/test4/Makefile (100%)
 rename test/{dfregress => }/testcases/sample/test4/test4.c (100%)
 rename test/{dfregress => }/testcases/sample/test5/Makefile (100%)
 rename test/{dfregress => }/testcases/sample/test5/test5.c (100%)
 rename test/{dfregress => }/testcases/sample/testb1/Makefile (100%)
 rename test/{dfregress => }/testcases/sample/testb1/testb1.c (100%)
 rename test/{dfregress => }/testcases/sample/testk1/Makefile (100%)
 rename test/{dfregress => }/testcases/sample/testk1/testk1.c (100%)
 rename test/{dfregress => }/testcases/sample/testk2/Makefile (100%)
 rename test/{dfregress => }/testcases/sample/testk2/testk1.c (100%)
 create mode 100644 test/testcases/sysv/Makefile
 rename {tools/regression => test/testcases/sysv}/sysvmsg/Makefile (100%)
 rename {tools/regression => test/testcases/sysv}/sysvmsg/README (100%)
 rename {tools/regression => test/testcases/sysv}/sysvmsg/msgtest.c (100%)
 rename {tools/regression => test/testcases/sysv}/sysvsem/Makefile (100%)
 rename {tools/regression => test/testcases/sysv}/sysvsem/README (100%)
 rename {tools/regression => test/testcases/sysv}/sysvsem/semtest.c (100%)
 rename {tools/regression => test/testcases/sysv}/sysvshm/Makefile (100%)
 rename {tools/regression => test/testcases/sysv}/sysvshm/README (100%)
 rename {tools/regression => test/testcases/sysv}/sysvshm/shmtest.c (100%)
 rename test/{dfregress => }/testcases/threads/Makefile (100%)
 rename test/{dfregress => }/testcases/threads/umtx_errno/Makefile (100%)
 rename test/{dfregress => }/testcases/threads/umtx_errno/umtx_errno.c (100%)
 delete mode 100644 tools/test/kqueue/Makefile
 delete mode 100644 tools/test/kqueue/kqueue_oob.c
 delete mode 100644 tools/test/select/Makefile
 delete mode 100644 tools/test/select/select_eof.c
 delete mode 100644 tools/test/select/select_many_write.c
 delete mode 100644 tools/test/select/select_oob.c
 create mode 100644 usr.bin/dfregress/Makefile
 copy {usr.sbin/installer => usr.bin/dfregress}/Makefile.inc (100%)
 rename {test => usr.bin}/dfregress/NOTES (100%)
 create mode 100644 usr.bin/dfregress/config.c
 rename {test/dfregress/driver => usr.bin/dfregress}/config.h (100%)
 rename {test/dfregress/framework => usr.bin/dfregress}/dfregress.h (100%)
 create mode 100644 usr.bin/dfregress/fe/Makefile
 copy {usr.sbin/installer => usr.bin/dfregress/fe}/Makefile.inc (100%)
 create mode 100644 usr.bin/dfregress/fe/text/Makefile
 create mode 100644 usr.bin/dfregress/fe/text/fe_text.c
 create mode 100644 usr.bin/dfregress/kernel.c
 rename {test/dfregress/driver => usr.bin/dfregress}/kernel.h (100%)
 create mode 100644 usr.bin/dfregress/main.c
 rename {test/dfregress/driver => usr.bin/dfregress}/parser.c (100%)
 rename {test/dfregress/driver => usr.bin/dfregress}/parser.h (100%)
 create mode 100644 usr.bin/dfregress/runlist.c
 rename {test/dfregress/driver => usr.bin/dfregress}/runlist.h (100%)
 create mode 100644 usr.bin/dfregress/testcase.c
 rename {test/dfregress/driver => usr.bin/dfregress}/testcase.h (100%)
 create mode 100644 usr.bin/dfregress/userland.c
 rename {test/dfregress/driver => usr.bin/dfregress}/userland.h (100%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a563ca70e68142ccf7f50a6f129665fd8cb66d98


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]