]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex-capture_and_apply
Don't exclude out-of-tree absolute symlinks in reparse point fix mode
[wimlib] / tests / test-imagex-capture_and_apply
index 105d0f3955bc22d4be247a47786a8454bf68dd05..672c8ae37d37943216e687fb0568724b6b158922 100755 (executable)
@@ -170,9 +170,9 @@ if [[ `readlink out.dir/absrootlink` != "/" ]] ||
        error "imagex capture --rpfix failed to fix absolute link to capture root"
 fi
 
-if [[ -e out.dir/absnonexistent ]] ||
-   [[ -e out.dir/absoutoftree ]]; then
-       error "imagex capture --rpfix failed to exclude out of tree absolute links"
+if [[ ! -L out.dir/absnonexistent ]] ||
+   [[ ! -L out.dir/absoutoftree ]]; then
+       error "imagex capture --rpfix failed to also capture out of tree absolute links"
 fi
 if [[ `readlink out.dir/relalink` != "file" ]]; then
        error "imagex capture --rpfix failed to capture relative symlink"