diff options
Diffstat (limited to 'pkgs/applications/science/math/yacas/fix-test-script.patch')
-rw-r--r-- | pkgs/applications/science/math/yacas/fix-test-script.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/pkgs/applications/science/math/yacas/fix-test-script.patch b/pkgs/applications/science/math/yacas/fix-test-script.patch deleted file mode 100644 index da85f0dc0e1bc..0000000000000 --- a/pkgs/applications/science/math/yacas/fix-test-script.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git i/tests/test-yacas w/tests/test-yacas -index b375d78b..0e3a616b 100755 ---- i/tests/test-yacas -+++ w/tests/test-yacas -@@ -35,9 +35,9 @@ FAILED_TESTS="" # list of failed tests - FAILURES=0 # number of failed tests - TOTALTESTS=0 # total number of tests - --TESTFILE=/tmp/test-yacas.$$ --TIMEFILE=/tmp/time-yacas.$$ --VERSIONF=/tmp/version-yacas-$$.ys -+TESTFILE="$(mktemp -t test-yacas.XXX)" -+TIMEFILE="$(mktemp -t time-yacas.XXX)" -+VERSIONF="$(mktemp -t version-yacas-XXX.ys)" - LOGFILE=yacas-logfile.txt - echo "Print(Version());" > $VERSIONF - VERSION=`$CMD $VERSIONF` -@@ -69,7 +69,7 @@ for scr in $SCRIPTS; do - # fi - echo "Running $scr" - if [ -f $TESTFILE ]; then rm $TESTFILE ; fi -- /bin/bash -c "time -p ($CMD $f || echo \"Error: exit status $?\") | tee $TESTFILE" \ -+ bash -c "time -p ($CMD $f || echo \"Error: exit status $?\") | tee $TESTFILE" \ - 2> $TIMEFILE \ - || (echo "Error -- User interrupt" > $TESTFILE) - # cat $TIMEFILE |