coreutils.test.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright (C) 2024 Puter Technologies Inc.
  3. *
  4. * This file is part of Phoenix Shell.
  5. *
  6. * Phoenix Shell is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU Affero General Public License as published
  8. * by the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU Affero General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Affero General Public License
  17. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  18. */
  19. import { runBasenameTests } from "./coreutils/basename.js";
  20. import { runDateTests } from "./coreutils/date.js";
  21. import { runDirnameTests } from "./coreutils/dirname.js";
  22. import { runEchoTests } from "./coreutils/echo.js";
  23. import { runEnvTests } from "./coreutils/env.js";
  24. import { runErrnoTests } from './coreutils/errno.js';
  25. import { runFalseTests } from "./coreutils/false.js";
  26. import { runHeadTests } from "./coreutils/head.js";
  27. import { runPrintfTests } from './coreutils/printf.js';
  28. import { runSleepTests } from "./coreutils/sleep.js";
  29. import { runSortTests } from "./coreutils/sort.js";
  30. import { runTailTests } from "./coreutils/tail.js";
  31. import { runTrueTests } from "./coreutils/true.js";
  32. import { runWcTests } from "./coreutils/wc.js";
  33. describe('coreutils', function () {
  34. runBasenameTests();
  35. runDateTests();
  36. runDirnameTests();
  37. runEchoTests();
  38. runEnvTests();
  39. runErrnoTests();
  40. runFalseTests();
  41. runHeadTests();
  42. runPrintfTests();
  43. runSleepTests();
  44. runSortTests();
  45. runTailTests();
  46. runTrueTests();
  47. runWcTests();
  48. });