Bug #36
test/torrent-upload: possibly broken relative $TORRENT path handling
| Status: | New | Start: | 12/11/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | 3.1 | |||
Description
Current implementation of test/torrent-upload includes the following logic:
pushdq $SHARE_DIR/firmwares- a call to
ctorrentfor downloading with$TORRENTargument, where$TORRENTis a relative path that would be referenced from$SHARE_DIR/firmwares - popdq
- a call to
ctorrentfor seeding with the same$TORRENTargument, but it will be referenced from other directory
Most probably this construct will fail in case of using relative path in $TORRENT argument.
History
Updated by Andrey Sapronov 785 days ago
Mikhail Yakshin wrote:
Most probably this construct will fail in case of using relative path in
$TORRENTargument.
I checked this today - it's strange but test works correctly (relative path is valid).
Updated by Mikhail Yakshin 785 days ago
Will it work if we'll change "pushd" to "cd" and drop "popd"?