From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Mon, 20 Mar 2017 16:30:51 +0100 Subject: [LTP] [PATCH] setxattr: prefer not to run tests in tmpfs In-Reply-To: References: <1490020357-8073-1-git-send-email-maxin.john@gmail.com> <20170320151104.GB6102@rei.lan> Message-ID: <20170320153051.GC6102@rei.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > > We can either exit the test with TCONF if /tmp is on tmpfs or format and > > mount a device and run these testcases on a file created there in that > > case. > > Thanks for sharing your thoughts. It is clear now. > > However, what about tests which fails by default on tmpfs like "fcntl" tests? > Should we default to the "/tmp" directory rather than mounting another device > and run the tests again ? Have a look at ftruncate04.c testcase, that falls back to mounting a device over the directory the test uses if needed. -- Cyril Hrubis chrubis@suse.cz