blob: 6b206a74b26127b33b816f0c91bca573e33060c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) 2023 Adrian Vovk
* All rights reserved.
*/
#include "test.h"
/* Test non existent file */
DEFINE_TEST(test_not_exist)
{
int r;
r = systemf("%s nonexist.zip >test.out 2>test.err", testprog);
assert(r != 0);
assertEmptyFile("test.out");
assertNonEmptyFile("test.err");
}
|