Skip to content

Commit 9b1897a

Browse files
committed
test json fix 2
1 parent 8a101d8 commit 9b1897a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-case/check-suspend-resume.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ analyze_sleepgraph_results()
189189
dlogi "Analyzing sleepgraph results"
190190
results_file=$(find suspend-*/*.html)
191191
cp "$results_file" "$LOG_ROOT/"
192-
thresholds=$( jq -n "${OPT_VAL['t']}")
192+
thresholds=$(jq -n --argjson t "${OPT_VAL['t']}" '$t')
193193

194194
dlogi "Analyzing $results_file file..."
195195
if python3 "$SCRIPT_HOME"/tools/analyze-sleepgraph-results.py "$results_file" "$thresholds"; then

0 commit comments

Comments
 (0)