]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex-capture_and_apply
rpfix extract on UNIX
[wimlib] / tests / test-imagex-capture_and_apply
index d4577517c40865e1a793600a1f308535166535f9..dfa240f819be3fb2bd96e583a575f092bd0292b1 100755 (executable)
@@ -142,6 +142,14 @@ if [[ `readlink out.dir/abslink` != "/file" ]] ||
    [[ `readlink out.dir/abslinkslashes` != "/file///" ]]; then
        error "imagex capture --rpfix did fix absolute link properly"
 fi
+rm -rf out.dir
+
+imagex apply test.wim out.dir
+if [[ $(get_inode_number $(readlink out.dir/absrootlink)) != \
+       $(get_inode_number out.dir) ]];
+then
+       error "imagex apply failed to apply fixed absolute symlinks"
+fi
 
 echo "**********************************************************"
 echo "          imagex capture/apply tests passed               "