test-uid-range.c revision ee104e11e303499a637c5cd8157bd12ad5cc116d
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright 2014 Lennart Poettering
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
systemd is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <stddef.h>
#include "uid-range.h"
#include "user-util.h"
#include "util.h"
unsigned n = 0;
assert_se(n == 1);
search = 501;
assert_se(n == 1);
assert_se(n == 2);
assert_se(n == 3);
assert_se(n == 1);
assert_se(n == 2);
assert_se(n == 1);
return 0;
}