1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 2014 Mike Kazantsev 5 * All rights reserved. 6 */ 7 #include "test.h" 8 9 DEFINE_TEST(test_expand_Z) 10 { 11 const char *reffile = "test_expand.Z"; 12 13 extract_reference_file(reffile); 14 assertEqualInt(0, systemf("%s %s >test.out 2>test.err", testprog, reffile)); 15 16 assertTextFileContents("contents of test_expand.Z.\n", "test.out"); 17 assertEmptyFile("test.err"); 18 } 19