]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex-update_and_extract
wimextract: allow specifying listfile on stdin
[wimlib] / tests / test-imagex-update_and_extract
index 202371b1027de6d14121b293997b16f2d4e1dddf..6c8771669c8c57c3b8fde78f74c1c19aec5240b0 100755 (executable)
@@ -225,6 +225,16 @@ wimextract test.wim 1 @pathlist --dest-dir=out.dir
 ../tree-cmp hello2 out.dir/hello2
 [ ! -e out.dir/otherfile ]
 
+msg "Testing path list extract (stdin)"
+rm -rf out.dir
+wimextract test.wim 1 @- --dest-dir=out.dir << EOF
+hello1
+hello2
+EOF
+../tree-cmp hello1 out.dir/hello1
+../tree-cmp hello2 out.dir/hello2
+[ ! -e out.dir/otherfile ]
+
 msg "Testing path list extract (w/ wildcard)"
 cat > pathlist << EOF
 hello*