run_tests fails with unclear error when wrong path to test is specified
Bug #1397916 reported by
Sebastian Kalinowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Low
|
Julia Varigina |
Bug Description
In fuel-web, when running selected test using run_tests.sh scipt and path to nonexistent file is specified, unclear error message is thrown:
# ./run_test.sh -t some/fake/path.py
./run_tests.sh: line 604: $1: unbound variable
It's because there is no checking if readlink returned anything: https:/
There should be a error instead, like:
"File some/fake/path.py not found"
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: low-hanging-fruit |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Julia Varigina (jvarigina) |
Changed in fuel: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/141076
Review: https:/