Mercurial > trustbridge
comparison ui/tests/fakeinstaller.c @ 563:aee3eb10bbba
Add unit test for sw update execution and fix shell execute params
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 22 May 2014 15:18:06 +0000 |
parents | |
children | 2a1aa9df8f11 |
comparison
equal
deleted
inserted
replaced
562:ccdc4c6b97ce | 563:aee3eb10bbba |
---|---|
1 /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik | |
2 * Software engineering by Intevation GmbH | |
3 | |
4 * This file is Free Software under the GNU GPL (v>=2) | |
5 * and comes with ABSOLUTELY NO WARRANTY! | |
6 * See LICENSE.txt for details. */ | |
7 | |
8 /**@file dummy program to test installer execution */ | |
9 | |
10 #include <stdio.h> | |
11 #ifdef WIN32 | |
12 #include <windows.h> | |
13 #endif | |
14 | |
15 int main() { | |
16 | |
17 int i = 0; | |
18 #ifdef WIN32 | |
19 OutputDebugStringA("Fakeinstaller started."); | |
20 #else | |
21 printf("Fakeinstaller started\n"); | |
22 #endif | |
23 for (; i < 0x0fffffff; i++); | |
24 | |
25 return 0; | |
26 } |