Mercurial > trustbridge
view ui/tests/fakeinstaller.c @ 1081:edbf5e5e88f4
(issue118) Extend verify_binary to carry an open file
* binverify.c: Change result to a structure containing an open fptr
Use in Memory data for windows verification.
* mainwindow.cpp, selftest.c: Handle the returend structure
* binverifytest.cpp: Test for the exclusive read and update signature.
* listutil.c: Add optional fptr parameter to read_file
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 11 Sep 2014 12:05:24 +0200 |
parents | aee3eb10bbba |
children | 2a1aa9df8f11 |
line wrap: on
line source
/* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik * Software engineering by Intevation GmbH * This file is Free Software under the GNU GPL (v>=2) * and comes with ABSOLUTELY NO WARRANTY! * See LICENSE.txt for details. */ /**@file dummy program to test installer execution */ #include <stdio.h> #ifdef WIN32 #include <windows.h> #endif int main() { int i = 0; #ifdef WIN32 OutputDebugStringA("Fakeinstaller started."); #else printf("Fakeinstaller started\n"); #endif for (; i < 0x0fffffff; i++); return 0; }