diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-02-28 08:26:57 +0400 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-05-14 20:45:56 +0400 |
| commit | 14d9d84c9e9b54e02ea69ab5cb6e2114f3639160 (patch) | |
| tree | 9baae8f1f6902eed553397b29e2f5a22739b4c0d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1f5d09205f8c12de4b3d612259fb2ec6464ba8ff (diff) | |
| download | linux-14d9d84c9e9b54e02ea69ab5cb6e2114f3639160.tar.xz | |
torture: Make "--dryrun script" use same environment as normal run
In a normal torture-test run, the script inherits its environment
variables, but this does not work when producing a script that is
to run later. Therefore, definitions and exports are prepended to
a dryrun script but not to a script that is run immediately. This
commit reconciles this by placing definitions and exports at the
beginning of the script in both cases.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Conflicts:
tools/testing/selftests/rcutorture/bin/kvm.sh
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
