Skip to content

Commit de7cc05

Browse files
committed
programs/ocfs2test/run: die if pip install fails
Signed-off-by: Philip Li <[email protected]>
1 parent 9950b0e commit de7cc05

File tree

1 file changed

+1
-1
lines changed
  • programs/ocfs2test

1 file changed

+1
-1
lines changed

programs/ocfs2test/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ setup_test_env()
4646
timing=$(ls $BENCHMARK_ROOT/ocfs2test/timing-*.tar.gz)
4747
[[ -f $timing ]] || die "can not find timing*.tar.gz file"
4848

49-
pip install $timing
49+
pip install $timing || die "pip install $timing fail"
5050

5151
# add /sbin to PATH for some ocfs2 command.
5252
echo "PATH=$PATH:/sbin" >> $OCFS2TEST_HOME/.bashrc

0 commit comments

Comments
 (0)