Test suites for utilities (cat, cp etc) Linux or BSD?best BSD distro for Desktop PCs?BSD Books - Best books...

How to belay quickly ascending top-rope climbers?

I have found a mistake on someone's code published online: what is the protocol?

The most secure way to handle someone forgetting to verify their account?

Operation Unzalgo

How fast does a character need to move to be effectively invisible?

Word for something indicating the importance of guarding it properly

Why teach C using scanf without talking about command line arguments?

Arithmetics in LuaLaTeX

How can I help our ranger feel special about her beast companion?

How slow can a car engine run?

What are the basics of commands in Minecraft Java Edition?

Why is Google approaching my VPS machine?

In this iconic lunar orbit rendezvous photo of John Houbolt, why do arrows #5 and #6 point the "wrong" way?

What is this green alien supposed to be on the American covers of the "Hitchhiker's Guide to the Galaxy"?

Strategy to pay off revolving debt while building reserve savings fund?

Why can't I hear fret buzz through the amp?

Is encryption still applied if you ignore the SSL certificate warning for self signed?

How can electric field be defined as force per charge, if the charge makes its own, singular electric field?

How do you give a date interval with diffuse dates?

Why did my "seldom" get corrected?

Demographic consequences of closed loop reincarnation

Is it ethical for a company to ask its employees to move furniture on a weekend?

How would thermophilic fish survive?

Term “console” in game consoles



Test suites for utilities (cat, cp etc) Linux or BSD?


best BSD distro for Desktop PCs?BSD Books - Best books for OpenBSD and FreeBSDEPUB reader for *BSD/LinuxAre there any GUI test suites for Linux?What kernel for ARM architechture, Linux or BSD?BSD Kernel Vs. Linux kernel?Portable wrappers for GNU, BSD, etc. versions of toolsHow to test command-line utilities for performance?how convert linux sed command to bsdDo the common programs (for example: “ls”, “cat”) in Linux and BSD come from the same source code?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















Are there any test suites available for the small programs usually shipped with the operating system? Specifically, programs like cp, cat, dd etc (anything in /bin/) on Linux or BSD; OpenBSD being the preferred option.
I know that md5 has a testing script built in however I can't find any others.
The regression testing suite from OpenBSD doesn't have tests for all the utilities.










share|improve this question































    2















    Are there any test suites available for the small programs usually shipped with the operating system? Specifically, programs like cp, cat, dd etc (anything in /bin/) on Linux or BSD; OpenBSD being the preferred option.
    I know that md5 has a testing script built in however I can't find any others.
    The regression testing suite from OpenBSD doesn't have tests for all the utilities.










    share|improve this question



























      2












      2








      2








      Are there any test suites available for the small programs usually shipped with the operating system? Specifically, programs like cp, cat, dd etc (anything in /bin/) on Linux or BSD; OpenBSD being the preferred option.
      I know that md5 has a testing script built in however I can't find any others.
      The regression testing suite from OpenBSD doesn't have tests for all the utilities.










      share|improve this question
















      Are there any test suites available for the small programs usually shipped with the operating system? Specifically, programs like cp, cat, dd etc (anything in /bin/) on Linux or BSD; OpenBSD being the preferred option.
      I know that md5 has a testing script built in however I can't find any others.
      The regression testing suite from OpenBSD doesn't have tests for all the utilities.







      linux openbsd bsd testing






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 54 mins ago







      user3927312

















      asked 2 hours ago









      user3927312user3927312

      1114 bronze badges




      1114 bronze badges






















          2 Answers
          2






          active

          oldest

          votes


















          2














          The POSIX test suites provide full coverage of the standard utilities, which won't be everything in /bin on most systems. It will cover all of the tools you list, however. As well as only covering the standard utilities, the suite will only cover their specified behaviours, and any extensions above POSIX would be ignored (at best).



          You would want the VSC suite, "for Shell and Utilities", rather than the one for system interfaces. These are available for a fee to trademark licensees, but you can get a time-limited licence as an open-source project implementing the standard for free with what doesn't appear to be an onerous licence agreement.



          There are open suites for much of the system interfaces, but I'm not aware of one for the utilities (and the ones I know of are quite dated as well).






          share|improve this answer
























          • The POSIX test suite seems like a good fit. Also FreeBSD ships with a test suite and it might be closest to the utilities for OpenBSD (wiki.freebsd.org/TestSuite). I'm trying to figure out how I can pull that into OpenBSD.

            – user3927312
            42 mins ago





















          1














          On GNU/Linux, these utilities are a part of the coreutils, the test suite can be found in the source repository under tests.



          Note: Linux is just the kernel, the rest of the system is developed by different entities, such as GNU.




          GNU is an operating system that is free software...consists of GNU packages (programs specifically released by the GNU Project) as well as free software released by third parties.




          On BSD, the whole operating system is developed together in one repository.



          For OpenBSD, there do not appear to be any tests for these utilities in their source repository.






          share|improve this answer
























          • github.com/openbsd/src/tree/master/regress They do have regression tests for a few of the utilities.

            – user3927312
            48 mins ago














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f530938%2ftest-suites-for-utilities-cat-cp-etc-linux-or-bsd%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          The POSIX test suites provide full coverage of the standard utilities, which won't be everything in /bin on most systems. It will cover all of the tools you list, however. As well as only covering the standard utilities, the suite will only cover their specified behaviours, and any extensions above POSIX would be ignored (at best).



          You would want the VSC suite, "for Shell and Utilities", rather than the one for system interfaces. These are available for a fee to trademark licensees, but you can get a time-limited licence as an open-source project implementing the standard for free with what doesn't appear to be an onerous licence agreement.



          There are open suites for much of the system interfaces, but I'm not aware of one for the utilities (and the ones I know of are quite dated as well).






          share|improve this answer
























          • The POSIX test suite seems like a good fit. Also FreeBSD ships with a test suite and it might be closest to the utilities for OpenBSD (wiki.freebsd.org/TestSuite). I'm trying to figure out how I can pull that into OpenBSD.

            – user3927312
            42 mins ago


















          2














          The POSIX test suites provide full coverage of the standard utilities, which won't be everything in /bin on most systems. It will cover all of the tools you list, however. As well as only covering the standard utilities, the suite will only cover their specified behaviours, and any extensions above POSIX would be ignored (at best).



          You would want the VSC suite, "for Shell and Utilities", rather than the one for system interfaces. These are available for a fee to trademark licensees, but you can get a time-limited licence as an open-source project implementing the standard for free with what doesn't appear to be an onerous licence agreement.



          There are open suites for much of the system interfaces, but I'm not aware of one for the utilities (and the ones I know of are quite dated as well).






          share|improve this answer
























          • The POSIX test suite seems like a good fit. Also FreeBSD ships with a test suite and it might be closest to the utilities for OpenBSD (wiki.freebsd.org/TestSuite). I'm trying to figure out how I can pull that into OpenBSD.

            – user3927312
            42 mins ago
















          2












          2








          2







          The POSIX test suites provide full coverage of the standard utilities, which won't be everything in /bin on most systems. It will cover all of the tools you list, however. As well as only covering the standard utilities, the suite will only cover their specified behaviours, and any extensions above POSIX would be ignored (at best).



          You would want the VSC suite, "for Shell and Utilities", rather than the one for system interfaces. These are available for a fee to trademark licensees, but you can get a time-limited licence as an open-source project implementing the standard for free with what doesn't appear to be an onerous licence agreement.



          There are open suites for much of the system interfaces, but I'm not aware of one for the utilities (and the ones I know of are quite dated as well).






          share|improve this answer













          The POSIX test suites provide full coverage of the standard utilities, which won't be everything in /bin on most systems. It will cover all of the tools you list, however. As well as only covering the standard utilities, the suite will only cover their specified behaviours, and any extensions above POSIX would be ignored (at best).



          You would want the VSC suite, "for Shell and Utilities", rather than the one for system interfaces. These are available for a fee to trademark licensees, but you can get a time-limited licence as an open-source project implementing the standard for free with what doesn't appear to be an onerous licence agreement.



          There are open suites for much of the system interfaces, but I'm not aware of one for the utilities (and the ones I know of are quite dated as well).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          Michael HomerMichael Homer

          54k9 gold badges151 silver badges184 bronze badges




          54k9 gold badges151 silver badges184 bronze badges













          • The POSIX test suite seems like a good fit. Also FreeBSD ships with a test suite and it might be closest to the utilities for OpenBSD (wiki.freebsd.org/TestSuite). I'm trying to figure out how I can pull that into OpenBSD.

            – user3927312
            42 mins ago





















          • The POSIX test suite seems like a good fit. Also FreeBSD ships with a test suite and it might be closest to the utilities for OpenBSD (wiki.freebsd.org/TestSuite). I'm trying to figure out how I can pull that into OpenBSD.

            – user3927312
            42 mins ago



















          The POSIX test suite seems like a good fit. Also FreeBSD ships with a test suite and it might be closest to the utilities for OpenBSD (wiki.freebsd.org/TestSuite). I'm trying to figure out how I can pull that into OpenBSD.

          – user3927312
          42 mins ago







          The POSIX test suite seems like a good fit. Also FreeBSD ships with a test suite and it might be closest to the utilities for OpenBSD (wiki.freebsd.org/TestSuite). I'm trying to figure out how I can pull that into OpenBSD.

          – user3927312
          42 mins ago















          1














          On GNU/Linux, these utilities are a part of the coreutils, the test suite can be found in the source repository under tests.



          Note: Linux is just the kernel, the rest of the system is developed by different entities, such as GNU.




          GNU is an operating system that is free software...consists of GNU packages (programs specifically released by the GNU Project) as well as free software released by third parties.




          On BSD, the whole operating system is developed together in one repository.



          For OpenBSD, there do not appear to be any tests for these utilities in their source repository.






          share|improve this answer
























          • github.com/openbsd/src/tree/master/regress They do have regression tests for a few of the utilities.

            – user3927312
            48 mins ago
















          1














          On GNU/Linux, these utilities are a part of the coreutils, the test suite can be found in the source repository under tests.



          Note: Linux is just the kernel, the rest of the system is developed by different entities, such as GNU.




          GNU is an operating system that is free software...consists of GNU packages (programs specifically released by the GNU Project) as well as free software released by third parties.




          On BSD, the whole operating system is developed together in one repository.



          For OpenBSD, there do not appear to be any tests for these utilities in their source repository.






          share|improve this answer
























          • github.com/openbsd/src/tree/master/regress They do have regression tests for a few of the utilities.

            – user3927312
            48 mins ago














          1












          1








          1







          On GNU/Linux, these utilities are a part of the coreutils, the test suite can be found in the source repository under tests.



          Note: Linux is just the kernel, the rest of the system is developed by different entities, such as GNU.




          GNU is an operating system that is free software...consists of GNU packages (programs specifically released by the GNU Project) as well as free software released by third parties.




          On BSD, the whole operating system is developed together in one repository.



          For OpenBSD, there do not appear to be any tests for these utilities in their source repository.






          share|improve this answer













          On GNU/Linux, these utilities are a part of the coreutils, the test suite can be found in the source repository under tests.



          Note: Linux is just the kernel, the rest of the system is developed by different entities, such as GNU.




          GNU is an operating system that is free software...consists of GNU packages (programs specifically released by the GNU Project) as well as free software released by third parties.




          On BSD, the whole operating system is developed together in one repository.



          For OpenBSD, there do not appear to be any tests for these utilities in their source repository.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          Lucas RamageLucas Ramage

          6242 silver badges12 bronze badges




          6242 silver badges12 bronze badges













          • github.com/openbsd/src/tree/master/regress They do have regression tests for a few of the utilities.

            – user3927312
            48 mins ago



















          • github.com/openbsd/src/tree/master/regress They do have regression tests for a few of the utilities.

            – user3927312
            48 mins ago

















          github.com/openbsd/src/tree/master/regress They do have regression tests for a few of the utilities.

          – user3927312
          48 mins ago





          github.com/openbsd/src/tree/master/regress They do have regression tests for a few of the utilities.

          – user3927312
          48 mins ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f530938%2ftest-suites-for-utilities-cat-cp-etc-linux-or-bsd%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...