General Purpose library for Freestanding C++ and POSIX systems
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
463 B

  1. #include "gp/tagfs/tagfs.hpp"
  2. #include "test_scaffold.h"
  3. #include <random>
  4. #include <string>
  5. struct tagfs_test : public test_scaffold {
  6. tagfs_test() {
  7. name = __FILE__ ":1";
  8. }
  9. virtual int run() {
  10. bool result = true;
  11. auto disk = std::make_unique<gp::memory_vdisk<128*1025>>();
  12. //auto disk = new gp::memory_vdisk<128*1025>();
  13. auto fs = gp::tagfs{std::move(disk)};
  14. fs.format();
  15. return !result;
  16. }
  17. };
  18. append_test dummy_56d46qds(new tagfs_test{});