tcutils/templates/pktgen_template.py under contrail-test is a shell script, should have .sh as extention

Bug #1531740 reported by Harish Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Unassigned

Bug Description

tcutils/templates/pktgen_template.py contain bash code not python code, so it should have .sh extention.

Also pycompile contrail-test would error out as it had bash code.

$ pycompile contrail-test

 File "tcutils/templates/pktgen_template.py", line 3
    modprobe pktgen
                  ^
SyntaxError: invalid syntax

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16131
Submitter: Harish Kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/16131
Committed: http://github.org/Juniper/contrail-test/commit/82c4b291f4ac702e84bf629e0f3209112aee57a8
Submitter: Zuul
Branch: master

commit 82c4b291f4ac702e84bf629e0f3209112aee57a8
Author: hkumarmk <email address hidden>
Date: Thu Jan 7 12:53:19 2016 +0530

Fixed incorrect extention of tcutils/templates/pktgen_template.py

Change-Id: Iaa03df0b95c714f73a4743064bd21c1ecca77db0
Fixes-Bug: #1531740

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.