Skip to content

Commit

Permalink
Merge pull request #904 from aschnell/master
Browse files Browse the repository at this point in the history
- added test
  • Loading branch information
aschnell authored Apr 22, 2024
2 parents 350403f + eb7088e commit e92110b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions testsuite-real/test-btrfsutils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@ main()
}


if (false)
{
int fddst = open("/btrfs/snaps", O_NOATIME);
if (fddst < 0)
{
cerr << "open failed (" << strerror(errno) << ")" << endl;
return EXIT_FAILURE;
}

create_snapshot(fd, fddst, "snap1", true, parse_qgroup("1/0"));

close(fddst);
}


if (false)
{
quota_enable(fd);
Expand Down

0 comments on commit e92110b

Please sign in to comment.