aboutsummaryrefslogtreecommitdiffstats
path: root/tests/f_jnl_64bit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/f_jnl_64bit')
-rw-r--r--tests/f_jnl_64bit/expect.0237
-rw-r--r--tests/f_jnl_64bit/expect.116
-rw-r--r--tests/f_jnl_64bit/expect.27
-rw-r--r--tests/f_jnl_64bit/image.gzbin0 -> 45038 bytes
-rw-r--r--tests/f_jnl_64bit/name1
-rw-r--r--tests/f_jnl_64bit/script4
6 files changed, 265 insertions, 0 deletions
diff --git a/tests/f_jnl_64bit/expect.0 b/tests/f_jnl_64bit/expect.0
new file mode 100644
index 00000000..2d3f8c42
--- /dev/null
+++ b/tests/f_jnl_64bit/expect.0
@@ -0,0 +1,237 @@
+
+Journal starts at block 329, transaction 5
+Found expected sequence 5, type 1 (descriptor block) at block 329
+Dumping descriptor block, sequence 5, at block 329:
+ FS block 162 logged at journal block 330 (flags 0x8)
+Found expected sequence 5, type 2 (commit block) at block 331
+Found expected sequence 6, type 5 (revoke table) at block 332
+Dumping revoke block, sequence 6, at block 332:
+ Revoke FS block 704
+ Revoke FS block 705
+ Revoke FS block 706
+ Revoke FS block 707
+ Revoke FS block 708
+ Revoke FS block 709
+ Revoke FS block 710
+ Revoke FS block 711
+ Revoke FS block 712
+ Revoke FS block 713
+ Revoke FS block 714
+ Revoke FS block 715
+ Revoke FS block 716
+ Revoke FS block 717
+ Revoke FS block 718
+ Revoke FS block 719
+ Revoke FS block 720
+ Revoke FS block 721
+ Revoke FS block 145
+ Revoke FS block 722
+ Revoke FS block 723
+ Revoke FS block 724
+ Revoke FS block 148
+ Revoke FS block 725
+ Revoke FS block 149
+ Revoke FS block 726
+ Revoke FS block 150
+ Revoke FS block 727
+ Revoke FS block 151
+ Revoke FS block 728
+ Revoke FS block 152
+ Revoke FS block 729
+ Revoke FS block 153
+ Revoke FS block 730
+ Revoke FS block 154
+ Revoke FS block 731
+ Revoke FS block 155
+ Revoke FS block 732
+ Revoke FS block 156
+ Revoke FS block 733
+ Revoke FS block 157
+ Revoke FS block 734
+ Revoke FS block 158
+ Revoke FS block 735
+ Revoke FS block 159
+ Revoke FS block 736
+ Revoke FS block 160
+ Revoke FS block 737
+ Revoke FS block 161
+ Revoke FS block 738
+ Revoke FS block 739
+ Revoke FS block 675
+ Revoke FS block 740
+ Revoke FS block 676
+ Revoke FS block 741
+ Revoke FS block 677
+ Revoke FS block 742
+ Revoke FS block 678
+ Revoke FS block 743
+ Revoke FS block 679
+ Revoke FS block 680
+ Revoke FS block 745
+ Revoke FS block 681
+ Revoke FS block 746
+ Revoke FS block 682
+ Revoke FS block 683
+ Revoke FS block 748
+ Revoke FS block 684
+ Revoke FS block 749
+ Revoke FS block 685
+ Revoke FS block 750
+ Revoke FS block 686
+ Revoke FS block 751
+ Revoke FS block 687
+ Revoke FS block 752
+ Revoke FS block 688
+ Revoke FS block 753
+ Revoke FS block 689
+ Revoke FS block 690
+ Revoke FS block 691
+ Revoke FS block 692
+ Revoke FS block 693
+ Revoke FS block 694
+ Revoke FS block 695
+ Revoke FS block 696
+ Revoke FS block 697
+ Revoke FS block 698
+ Revoke FS block 699
+ Revoke FS block 700
+ Revoke FS block 701
+ Revoke FS block 702
+ Revoke FS block 703
+Found expected sequence 6, type 1 (descriptor block) at block 333
+Dumping descriptor block, sequence 6, at block 333:
+ FS block 163 logged at journal block 334 (flags 0x0)
+ FS block 418 logged at journal block 335 (flags 0x2)
+ FS block 1 logged at journal block 336 (flags 0x2)
+ FS block 170 logged at journal block 337 (flags 0x2)
+ FS block 2 logged at journal block 338 (flags 0x2)
+ FS block 146 logged at journal block 339 (flags 0x2)
+ FS block 169 logged at journal block 340 (flags 0x2)
+ FS block 130 logged at journal block 341 (flags 0x2)
+ FS block 147 logged at journal block 342 (flags 0x2)
+ FS block 168 logged at journal block 343 (flags 0x2)
+ FS block 171 logged at journal block 344 (flags 0x2)
+ FS block 172 logged at journal block 345 (flags 0x2)
+ FS block 165 logged at journal block 346 (flags 0x2)
+ FS block 164 logged at journal block 347 (flags 0x2)
+ FS block 419 logged at journal block 348 (flags 0x2)
+ FS block 174 logged at journal block 349 (flags 0x2)
+ FS block 173 logged at journal block 350 (flags 0x2)
+ FS block 167 logged at journal block 351 (flags 0x2)
+ FS block 175 logged at journal block 352 (flags 0x2)
+ FS block 166 logged at journal block 353 (flags 0x2)
+ FS block 176 logged at journal block 354 (flags 0x2)
+ FS block 177 logged at journal block 355 (flags 0x2)
+ FS block 132 logged at journal block 356 (flags 0x2)
+ FS block 162 logged at journal block 357 (flags 0x2)
+ FS block 420 logged at journal block 358 (flags 0x2)
+ FS block 184 logged at journal block 359 (flags 0x2)
+ FS block 183 logged at journal block 360 (flags 0x2)
+ FS block 182 logged at journal block 361 (flags 0x2)
+ FS block 185 logged at journal block 362 (flags 0x2)
+ FS block 179 logged at journal block 363 (flags 0x2)
+ FS block 178 logged at journal block 364 (flags 0x2)
+ FS block 187 logged at journal block 365 (flags 0x2)
+ FS block 188 logged at journal block 366 (flags 0x2)
+ FS block 186 logged at journal block 367 (flags 0x2)
+ FS block 181 logged at journal block 368 (flags 0x2)
+ FS block 189 logged at journal block 369 (flags 0x2)
+ FS block 180 logged at journal block 370 (flags 0x2)
+ FS block 190 logged at journal block 371 (flags 0x2)
+ FS block 421 logged at journal block 372 (flags 0x2)
+ FS block 197 logged at journal block 373 (flags 0x2)
+ FS block 198 logged at journal block 374 (flags 0x2)
+ FS block 196 logged at journal block 375 (flags 0x2)
+ FS block 199 logged at journal block 376 (flags 0x2)
+ FS block 192 logged at journal block 377 (flags 0x2)
+ FS block 193 logged at journal block 378 (flags 0x2)
+ FS block 191 logged at journal block 379 (flags 0x2)
+ FS block 422 logged at journal block 380 (flags 0x2)
+ FS block 201 logged at journal block 381 (flags 0x2)
+ FS block 202 logged at journal block 382 (flags 0x2)
+ FS block 200 logged at journal block 383 (flags 0x2)
+ FS block 195 logged at journal block 384 (flags 0x2)
+ FS block 194 logged at journal block 385 (flags 0x2)
+ FS block 203 logged at journal block 386 (flags 0x2)
+ FS block 204 logged at journal block 387 (flags 0x2)
+ FS block 423 logged at journal block 388 (flags 0x2)
+ FS block 211 logged at journal block 389 (flags 0x2)
+ FS block 212 logged at journal block 390 (flags 0x2)
+ FS block 210 logged at journal block 391 (flags 0x2)
+ FS block 209 logged at journal block 392 (flags 0x2)
+ FS block 213 logged at journal block 393 (flags 0x2)
+ FS block 206 logged at journal block 394 (flags 0x2)
+ FS block 207 logged at journal block 395 (flags 0x2)
+ FS block 205 logged at journal block 396 (flags 0x2)
+ FS block 215 logged at journal block 397 (flags 0x2)
+ FS block 214 logged at journal block 398 (flags 0x2)
+ FS block 208 logged at journal block 399 (flags 0x2)
+ FS block 216 logged at journal block 400 (flags 0x2)
+ FS block 217 logged at journal block 401 (flags 0x2)
+ FS block 218 logged at journal block 402 (flags 0x2)
+ FS block 424 logged at journal block 403 (flags 0x2)
+ FS block 225 logged at journal block 404 (flags 0x2)
+ FS block 224 logged at journal block 405 (flags 0x2)
+ FS block 223 logged at journal block 406 (flags 0x2)
+ FS block 226 logged at journal block 407 (flags 0x2)
+ FS block 227 logged at journal block 408 (flags 0x2)
+ FS block 220 logged at journal block 409 (flags 0x2)
+ FS block 219 logged at journal block 410 (flags 0x2)
+ FS block 425 logged at journal block 411 (flags 0x2)
+ FS block 229 logged at journal block 412 (flags 0x2)
+ FS block 228 logged at journal block 413 (flags 0x2)
+ FS block 222 logged at journal block 414 (flags 0x2)
+ FS block 230 logged at journal block 415 (flags 0x2)
+ FS block 221 logged at journal block 416 (flags 0x2)
+ FS block 231 logged at journal block 417 (flags 0xa)
+Found expected sequence 6, type 1 (descriptor block) at block 418
+Dumping descriptor block, sequence 6, at block 418:
+ FS block 232 logged at journal block 419 (flags 0x0)
+ FS block 426 logged at journal block 420 (flags 0x2)
+ FS block 239 logged at journal block 421 (flags 0x2)
+ FS block 238 logged at journal block 422 (flags 0x2)
+ FS block 237 logged at journal block 423 (flags 0x2)
+ FS block 240 logged at journal block 424 (flags 0x2)
+ FS block 234 logged at journal block 425 (flags 0x2)
+ FS block 233 logged at journal block 426 (flags 0x2)
+ FS block 242 logged at journal block 427 (flags 0x2)
+ FS block 243 logged at journal block 428 (flags 0x2)
+ FS block 241 logged at journal block 429 (flags 0x2)
+ FS block 236 logged at journal block 430 (flags 0x2)
+ FS block 244 logged at journal block 431 (flags 0x2)
+ FS block 235 logged at journal block 432 (flags 0x2)
+ FS block 245 logged at journal block 433 (flags 0x2)
+ FS block 427 logged at journal block 434 (flags 0x2)
+ FS block 252 logged at journal block 435 (flags 0x2)
+ FS block 253 logged at journal block 436 (flags 0x2)
+ FS block 251 logged at journal block 437 (flags 0x2)
+ FS block 254 logged at journal block 438 (flags 0x2)
+ FS block 247 logged at journal block 439 (flags 0x2)
+ FS block 248 logged at journal block 440 (flags 0x2)
+ FS block 246 logged at journal block 441 (flags 0x2)
+ FS block 428 logged at journal block 442 (flags 0x2)
+ FS block 256 logged at journal block 443 (flags 0x2)
+ FS block 257 logged at journal block 444 (flags 0x2)
+ FS block 255 logged at journal block 445 (flags 0x2)
+ FS block 250 logged at journal block 446 (flags 0x2)
+ FS block 249 logged at journal block 447 (flags 0x2)
+ FS block 258 logged at journal block 448 (flags 0x2)
+ FS block 259 logged at journal block 449 (flags 0x2)
+ FS block 429 logged at journal block 450 (flags 0x2)
+ FS block 266 logged at journal block 451 (flags 0x2)
+ FS block 267 logged at journal block 452 (flags 0x2)
+ FS block 744 logged at journal block 453 (flags 0x2)
+ FS block 265 logged at journal block 454 (flags 0x2)
+ FS block 264 logged at journal block 455 (flags 0x2)
+ FS block 268 logged at journal block 456 (flags 0x2)
+ FS block 261 logged at journal block 457 (flags 0x2)
+ FS block 262 logged at journal block 458 (flags 0x2)
+ FS block 260 logged at journal block 459 (flags 0x2)
+ FS block 270 logged at journal block 460 (flags 0x2)
+ FS block 269 logged at journal block 461 (flags 0x2)
+ FS block 263 logged at journal block 462 (flags 0x2)
+ FS block 754 logged at journal block 463 (flags 0x2)
+ FS block 271 logged at journal block 464 (flags 0x2)
+ FS block 272 logged at journal block 465 (flags 0xa)
+Found expected sequence 6, type 2 (commit block) at block 466
+No magic number at block 467: end of journal.
diff --git a/tests/f_jnl_64bit/expect.1 b/tests/f_jnl_64bit/expect.1
new file mode 100644
index 00000000..07b40dd0
--- /dev/null
+++ b/tests/f_jnl_64bit/expect.1
@@ -0,0 +1,16 @@
+test_filesys: recovering journal
+Pass 1: Checking inodes, blocks, and sizes
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+Free blocks count wrong (14571, counted=14531).
+Fix? yes
+
+Free inodes count wrong (4085, counted=3689).
+Fix? yes
+
+
+test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 407/4096 files (0.0% non-contiguous), 1853/16384 blocks
+Exit status is 1
diff --git a/tests/f_jnl_64bit/expect.2 b/tests/f_jnl_64bit/expect.2
new file mode 100644
index 00000000..42ae3557
--- /dev/null
+++ b/tests/f_jnl_64bit/expect.2
@@ -0,0 +1,7 @@
+Pass 1: Checking inodes, blocks, and sizes
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+test_filesys: 407/4096 files (0.0% non-contiguous), 1853/16384 blocks
+Exit status is 0
diff --git a/tests/f_jnl_64bit/image.gz b/tests/f_jnl_64bit/image.gz
new file mode 100644
index 00000000..81fbc63d
--- /dev/null
+++ b/tests/f_jnl_64bit/image.gz
Binary files differ
diff --git a/tests/f_jnl_64bit/name b/tests/f_jnl_64bit/name
new file mode 100644
index 00000000..2c8dd15f
--- /dev/null
+++ b/tests/f_jnl_64bit/name
@@ -0,0 +1 @@
+on-disk 64-bit journal format
diff --git a/tests/f_jnl_64bit/script b/tests/f_jnl_64bit/script
new file mode 100644
index 00000000..4056f0de
--- /dev/null
+++ b/tests/f_jnl_64bit/script
@@ -0,0 +1,4 @@
+PREP_CMD='$DEBUGFS -R "logdump -a" $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs > $test_name.0.log'
+PASS_ZERO=true
+
+. $cmd_dir/run_e2fsck