fix: tests: grep for '$key =' in metadata
[lttng-tools.git] / tests / regression / tools / metadata / utils.sh
index 99a6cc6d856caeb3af20e9188a0729717733aef6..a355936c6d2265f69faf869b82bd658a3d534743 100644 (file)
@@ -11,7 +11,7 @@ function get_env_value ()
        local result
        local ret
 
-       result=$(grep "$key" < "$env_file")
+       result=$(grep "$key =" < "$env_file")
        ret=$?
        if [ $ret -eq 1 ]; then
                echo "invalid_value_extraction"
This page took 0.022481 seconds and 4 git commands to generate.