Merge lp:~cr3/checkbox/optical_write_test into lp:checkbox

Proposed by Marc Tardif
Status: Rejected
Rejected by: Marc Tardif
Proposed branch: lp:~cr3/checkbox/optical_write_test
Merge into: lp:checkbox
Diff against target: 20 lines (+2/-1)
1 file modified
scripts/optical_write_test (+2/-1)
To merge this branch: bzr merge lp:~cr3/checkbox/optical_write_test
Reviewer Review Type Date Requested Status
Marc Tardif (community) Disapprove
Sylvain Pineau (community) Needs Information
Review via email: mp+125885@code.launchpad.net

Description of the change

This doesn't deserve a changelog entry because it is only to fix this merge request that should not have been merged:

  https://code.launchpad.net/~sylvain-pineau/checkbox/bug1052803/+merge/125796

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

If the script is intended to be only use with checkbox, I would say ok, but what if a tester decides to copy it to his/her $HOME ? And just optical_writer, not ansi_parser.

review: Needs Information
Revision history for this message
Marc Tardif (cr3) wrote :

Can't find the button in Launchpad to supersede this branch by:

https://code.launchpad.net/~sylvain-pineau/checkbox/bug1052803/+merge/125952

So, setting this branch as disapprove instead. Ugh...

review: Disapprove

Unmerged revisions

1699. By Marc Tardif

Fixed hard coded path to /usr/share/checkbox/scripts.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'scripts/optical_write_test'
2--- scripts/optical_write_test 2012-09-21 20:09:56 +0000
3+++ scripts/optical_write_test 2012-09-23 16:29:20 +0000
4@@ -5,6 +5,7 @@
5 SAMPLE_FILE_PATH='/usr/share/example-content/'
6 SAMPLE_FILE='Ubuntu_Free_Culture_Showcase'
7 MD5SUM_FILE='optical_test.md5'
8+SCRIPTS_DIR=`dirname $0`
9 START_DIR=$PWD
10
11 create_working_dirs(){
12@@ -53,7 +54,7 @@
13 echo "Sleeping 10 seconds in case drive is not yet ready ..."
14 sleep 10
15 echo "Beginning image burn ..."
16- wodim -eject dev=$OPTICAL_DRIVE $ISO_NAME | /usr/share/checkbox/scripts/ansi_parser
17+ wodim -eject dev=$OPTICAL_DRIVE $ISO_NAME | $SCRIPTS_DIR/ansi_parser
18 rt=$?
19 return $rt
20 }

Subscribers

People subscribed via source and target branches