Skip to contentSkip to conversation

mm: mmapstress04: Remove arguments passed to the test.

PATCH New Sandeep Patil 2 participants 2 messages Sep 22, 2017 – Sep 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm: mmapstress04: Remove arguments passed to the test.

The test doesn't take any arguments, so don't pass it any.

---
 runtest/mm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
runtest/mm +1 -1
index 55fc2cab0..76d233562 100644
@@ -46,7 +46,7 @@ mallocstress01	mallocstress
 mmapstress01 mmapstress01 -p 20 -t 0.2
 mmapstress02 mmapstress02
 mmapstress03 mmapstress03
-mmapstress04 TMPFILE=`mktemp /tmp/example.XXXXXXXXXX`; ls -lR /usr/include/ > $TMPFILE; mmapstress04 $TMPFILE
+mmapstress04 mmapstress04
 mmapstress05 mmapstress05
 mmapstress06 mmapstress06 20
 mmapstress07 TMPFILE=`mktemp /tmp/example.XXXXXXXXXXXX`; mmapstress07 $TMPFILE
Signature · 1 line
2.14.1.821.g8fa685d3b7-goog
#1 lore raw

PATCH 1/1 mm: mmapstress04: Remove arguments passed to the test.

Hi!

Quoted 1 line

The test doesn't take any arguments, so don't pass it any.

Good catch, we missed that on the test rewrite, pushed.

Side note: I guess that we should fix the test library not to ignore positional
parameters since that would have caught it in the first place. But that one will wait till we are done with the release.

Signature · 2 lines
Cyril Hrubis
[email protected]