Skip to contentSkip to conversation

runtest/mm: create TMPFILE in TMPDIR for mmapstress07

PATCH Applied Edward Liaw via ltp 2 participants 2 messages Oct 11, 2024 – Oct 14, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runtest/mm: create TMPFILE in TMPDIR for mmapstress07

Use the TMPDIR path for the temporary file instead of /tmp.

---
 runtest/mm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
runtest/mm +1 -1
index 6a8cd0b9d..d8e62af81 100644
@@ -47,7 +47,7 @@ mmapstress03 mmapstress03
 mmapstress04 mmapstress04
 mmapstress05 mmapstress05
 mmapstress06 mmapstress06 20
-mmapstress07 TMPFILE=`mktemp /tmp/example.XXXXXXXXXXXX`; mmapstress07 $TMPFILE
+mmapstress07 TMPFILE=`mktemp $TMPDIR/example.XXXXXXXXXXXX`; mmapstress07 $TMPFILE
 mmapstress08 mmapstress08
 mmapstress09 mmapstress09 -p 20 -t 0.2
 mmapstress10 mmapstress10 -p 20 -t 0.2
Signature · 5 lines
2.47.0.rc1.288.g06298d1525-goog


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
Applied
#1 lore raw

Applied, thanks.

Signature · 5 lines
Regards,
Li Wang

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp