components/bash/TESTING
author Vladimir Marek <Vladimir.Marek@oracle.com>
Thu, 26 Jan 2017 12:24:45 +0100
branchs11u3-sru
changeset 7627 4758b76d5ad5
child 7486 57b5a32e1ae4
permissions -rw-r--r--
25123965 Update bash to version 4.4 24689447 problem in UTILITY/BASH 21341453 process hangs when terminated with unfinished command 21196056 bash test is failing to finish 19394218 bash : Parameter Substitution Causing Memory Leak
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7627
4758b76d5ad5 25123965 Update bash to version 4.4
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     1
Bash test results are stored in test/*/test-64-results. They are then filtered
4758b76d5ad5 25123965 Update bash to version 4.4
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     2
by COMPONENT_TEST_TRANSFORMS to make the test produce stable/reproducible
4758b76d5ad5 25123965 Update bash to version 4.4
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     3
results. Unfortunatelly COMPONENT_TEST_TRANSFORMS remove any problems
4758b76d5ad5 25123965 Update bash to version 4.4
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     4
encountered too. This is not ideal and should be fixed. The problem is that
4758b76d5ad5 25123965 Update bash to version 4.4
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     5
bash tests are sensitive to environment they are executed in (your ~/.bash*
4758b76d5ad5 25123965 Update bash to version 4.4
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     6
files for example). It's not easy to tell that bash tests finished
4758b76d5ad5 25123965 Update bash to version 4.4
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     7
successfully, you have to read it through.
4758b76d5ad5 25123965 Update bash to version 4.4
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     8
4758b76d5ad5 25123965 Update bash to version 4.4
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     9
To compare the results before and after a fix one has to store test-64-results
4758b76d5ad5 25123965 Update bash to version 4.4
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    10
file and compare it to the one generated after your change.