1
0
mirror of https://github.com/openSUSE/snapper.git synced 2026-02-05 06:46:08 +01:00
Files
snapper/testsuite-real/error1.cc
2013-06-25 17:46:35 +02:00

30 lines
322 B
C++

#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);
}