summaryrefslogtreecommitdiffstats
path: root/tools/regression/usr.bin/env/regress-sb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/usr.bin/env/regress-sb.rb')
-rw-r--r--tools/regression/usr.bin/env/regress-sb.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/regression/usr.bin/env/regress-sb.rb b/tools/regression/usr.bin/env/regress-sb.rb
index f6333aa..b43ddd3 100644
--- a/tools/regression/usr.bin/env/regress-sb.rb
+++ b/tools/regression/usr.bin/env/regress-sb.rb
@@ -346,6 +346,7 @@ class RGTestOptions
# "just anything" that matches the general pattern. There are
# no blanks in the recognized values, but I use an x-tended
# regexp and then add blanks to make it more readable.
+ optval.gsub!(/\[%- testpgm\.pathname -%\]/x, $testpgm)
optval.gsub!(/\[%- testpgm\.basename -%\]/x, File.basename($testpgm))
optval.gsub!(/\[%- script\.pathname -%\]/x, $scriptfile)
OpenPOWER on IntegriCloud