mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Avoid runtest warnings with GNU sed.
OS X (BSD) sed accepts -i without a string too, but apparently only if it comes _before_ the -e argument.
This commit is contained in:
@@ -23,14 +23,14 @@ BASEPATH=`pwd`
|
||||
cd dstress
|
||||
|
||||
# remove excessive tests
|
||||
sed -e 's/torture-//g' -i '' Makefile
|
||||
sed -i -e 's/torture-//g' Makefile
|
||||
|
||||
# make sure only .d files in 'run' tests are run
|
||||
sed -e 's/find run -type f |/find run -type f -name "*\\\\.d" |/' -i '' Makefile
|
||||
sed -e 's/find norun -type f |/find norun -type f -name "*\\\\.d" |/' -i '' Makefile
|
||||
sed -i -e 's/find run -type f |/find run -type f -name "*\\\\.d" |/' Makefile
|
||||
sed -i -e 's/find norun -type f |/find norun -type f -name "*\\\\.d" |/' Makefile
|
||||
|
||||
# impose more conservative constraints (10s and 256 MB)
|
||||
sed -e 's/crashRun 30 1000/crashRun 10 256/' -i '' dstress.c
|
||||
sed -i -e 's/crashRun 30 1000/crashRun 10 256/' dstress.c
|
||||
|
||||
echo
|
||||
echo "Running new test and storing result in $TARGETFILE ..."
|
||||
|
||||
Reference in New Issue
Block a user