Hardcoded absulute path in the xb_export test

Bug #733811 reported by Alexey Kopytov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Medium
Valentine Gostev

Bug Description

xb_export.sh uses a hardcoded absolute path to create a temporary backup:

backup_dir=/tmp/xb_export_backup

Today I ran into a problem when there was a directory with the same name left from another test run by someone else. It was a shared machine and I didn't have root access, so there was nothing I could do to fix that. I think we should never use absolute paths in the tests, all directories and files must be created in the test root directory ($topdir).

Related branches

Changed in percona-xtrabackup:
status: New → Fix Committed
Revision history for this message
Stewart Smith (stewart) wrote :

I'm guessing this is in for 1.7... if not, please correct.

Changed in percona-xtrabackup:
importance: Undecided → Medium
assignee: nobody → Alexey Kopytov (akopytov)
milestone: none → 1.7
Revision history for this message
Valentine Gostev (longbow) wrote :

I guess it is available since 1.6. Will check and update.

Changed in percona-xtrabackup:
assignee: Alexey Kopytov (akopytov) → Valentine Gostev (longbow)
Stewart Smith (stewart)
Changed in percona-xtrabackup:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-561

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.