You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/12/20 15:39:18 UTC
[nuttx-apps] branch master updated: pipe: fix pipe test case failed
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 9fcb58fb8 pipe: fix pipe test case failed
9fcb58fb8 is described below
commit 9fcb58fb8a971293d6527902012737e8e73c9996
Author: ligd <li...@xiaomi.com>
AuthorDate: Tue Dec 20 21:57:54 2022 +0800
pipe: fix pipe test case failed
pipe shouldn't use /tmp folder, /tmp maybe mounted to tmpfs
Signed-off-by: ligd <li...@xiaomi.com>
---
examples/pipe/pipe.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/pipe/pipe.h b/examples/pipe/pipe.h
index 6ce7c06bb..304fb8e16 100644
--- a/examples/pipe/pipe.h
+++ b/examples/pipe/pipe.h
@@ -33,8 +33,8 @@
* Pre-processor Definitions
****************************************************************************/
-#define FIFO_PATH1 "/tmp/testfifo-1"
-#define FIFO_PATH2 "/tmp/testfifo-2"
+#define FIFO_PATH1 "/var/testfifo-1"
+#define FIFO_PATH2 "/var/testfifo-2"
/****************************************************************************
* Public Types