diff --git a/mk/boilerplate.mk b/mk/boilerplate.mk index 69cab3e375bd96fcfdbe72af888641368e3c2e52..906cd0bd9334fabec720d7e37eea6874d5d957c0 100644 --- a/mk/boilerplate.mk +++ b/mk/boilerplate.mk @@ -20,7 +20,6 @@ SIZE = size STRIP = strip PERL = /usr/bin/perl CONTEXT_DIFF = diff -U 1 -DEFAULT_TMPDIR = /tmp EXECUTABLE_FILE = chmod +x # Benchmarks controls which set of tests should be run diff --git a/runstdtest/Makefile b/runstdtest/Makefile index 3762410f1ecb5b582b22c0c5f0b89f9319d04d86..1dc8f6c47335d43b466ed93031504acb38bf224c 100644 --- a/runstdtest/Makefile +++ b/runstdtest/Makefile @@ -7,7 +7,6 @@ all:: $(RM) -f $(PROG) echo '#!$(PERL)' >> $(PROG) echo '$$RM = "$(RM)";' >> $(PROG) - echo '$$DEFAULT_TMPDIR = "$(DEFAULT_TMPDIR)";' >> $(PROG) echo '$$CONTEXT_DIFF = "$(CONTEXT_DIFF)";' >> $(PROG) cat $(PROG).prl >> $(PROG) $(EXECUTABLE_FILE) $(PROG) diff --git a/runstdtest/runstdtest.prl b/runstdtest/runstdtest.prl index 538dfa912c720800819fda8fc374e9fcd1049933..bab0ab46a1ce3068759a518940e53693d72e8b8c 100644 --- a/runstdtest/runstdtest.prl +++ b/runstdtest/runstdtest.prl @@ -2,7 +2,6 @@ # The perl script requires the following variables to be bound # to something meaningful before it will operate correctly: # -# DEFAULT_TMPDIR # CONTEXT_DIFF # RM # @@ -53,8 +52,8 @@ $PgmStdinFile = '/dev/null'; if ( $ENV{'TMPDIR'} ) { # where to make tmp file names $TmpPrefix = $ENV{'TMPDIR'}; } else { - $TmpPrefix ="$DEFAULT_TMPDIR"; - $ENV{'TMPDIR'} = "$DEFAULT_TMPDIR"; # set the env var as well + $TmpPrefix = '/tmp'; + $ENV{'TMPDIR'} = '/tmp'; # set the env var as well } # If this is Cygwin, ignore eol and CR characters. # Perhaps required for MSYS too, although the cygpath