]> arthur.barton.de Git - bup.git/blobdiff - t/test-ftp
vfs: change /save/latest back to a symlink to the latest save
[bup.git] / t / test-ftp
index c71bc54be79f512560b1a6d416bfc2d145e3e8b1..3a8e5db38073199f887b735f1ea5bbc11c52eafc 100755 (executable)
@@ -70,9 +70,9 @@ with test_tempdir('ftp-') as tmpdir:
                                               'cd ..', 'pwd')).out)
     wvpasseq('/src\n/\n', bup('ftp', input=jl('cd src', 'pwd',
                                               'cd ..', 'cd ..', 'pwd')).out)
-    wvpasseq('/src/latest/dir\n',
+    wvpasseq('/src/%s/dir\n' % save_name,
              bup('ftp', input=jl('cd src/latest/dir-symlink', 'pwd')).out)
-    wvpasseq('/src/latest/dir\n',
+    wvpasseq('/src/%s/dir\n' % save_name,
              bup('ftp', input=jl('cd src latest dir-symlink', 'pwd')).out)
     wvpassne(0, bup('ftp',
                     input=jl('cd src/latest/bad-symlink', 'pwd'),