
#include "common.h"

using namespace std;


int
main()
{
    setup();

    first_snapshot();

    run_command("mkdir not-empty");

    second_snapshot();

    run_command("touch not-empty/bad");

    check_undo_statistics(0, 0, 1);

    undo();

    check_undo_errors(0, 0, 1);

    cleanup();

    exit(EXIT_SUCCESS);
}
