From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtu9m-0000GZ-EE for qemu-devel@nongnu.org; Fri, 20 Dec 2013 02:06:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vtu9g-0006BI-El for qemu-devel@nongnu.org; Fri, 20 Dec 2013 02:05:58 -0500 From: Fam Zheng Date: Fri, 20 Dec 2013 15:05:31 +0800 Message-Id: <1387523131-15647-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH] acpi unit-test: Create temporary disk file under /tmp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Michael Tokarev , Marcel Apfelbaum As other tests, the image file is created in /tmp other than current dir. Thus there will not be an unignored file under tests for intree build. Signed-off-by: Fam Zheng --- tests/acpi-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acpi-test.c b/tests/acpi-test.c index ca83b1d6..e4f31b7 100644 --- a/tests/acpi-test.c +++ b/tests/acpi-test.c @@ -116,7 +116,7 @@ static uint8_t boot_sector[0x200] = { [0x1FF] = 0xAA, }; -static const char *disk = "tests/acpi-test-disk.raw"; +static const char *disk = "/tmp/qtest-acpi-test-disk.raw"; static void free_test_data(test_data *data) { -- 1.8.5.1