mirror of
https://github.com/openSUSE/snapper.git
synced 2026-02-05 06:46:08 +01:00
30 lines
322 B
C++
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);
|
|
}
|