diff --git a/regression/t-024.out b/regression/t-024.out new file mode 100644 index 0000000..0561847 --- /dev/null +++ b/regression/t-024.out @@ -0,0 +1,64 @@ +% setup_repo +% unapplied (empty) +modify +add +remove +mode +% push (modify) +Applying patch..modify +Patch applied. +% unapplied (modify) +add +remove +mode +% list_files +d .git/patches +d .git/patches/master +f 22930c6d1f1938f298a4fca51c57e4b47171db21 .git/patches/master/mode +f 5d8322e2edfca0589cc24df9c09985a544591a2c .git/patches/master/add +f 8bdf2abdb045e63bb877890db12afcd5a2f023eb .git/patches/master/remove +f a19b18afeac33e6a55ef55b93cf0bca721e5610b .git/patches/master/status +f bacb4aad8a55fe4e7aa58a9ae169990bb764069f .git/patches/master/series +f bc9ab2e0f5db99d483961e956e814d963f0309f8 .git/patches/master/modify +% push (add) +Applying patch..add +Patch applied. +% unapplied (add) +remove +mode +% list_files +d .git/patches +d .git/patches/master +f 22930c6d1f1938f298a4fca51c57e4b47171db21 .git/patches/master/mode +f 5d8322e2edfca0589cc24df9c09985a544591a2c .git/patches/master/add +f 8bdf2abdb045e63bb877890db12afcd5a2f023eb .git/patches/master/remove +f bacb4aad8a55fe4e7aa58a9ae169990bb764069f .git/patches/master/series +f bc9ab2e0f5db99d483961e956e814d963f0309f8 .git/patches/master/modify +f fc42fbc05afb7265d358add98f500f83bf29aea7 .git/patches/master/status +% push (remove) +Applying patch..remove +Patch applied. +% unapplied (remove) +mode +% list_files +d .git/patches +d .git/patches/master +f 22930c6d1f1938f298a4fca51c57e4b47171db21 .git/patches/master/mode +f 5d8322e2edfca0589cc24df9c09985a544591a2c .git/patches/master/add +f 8bdf2abdb045e63bb877890db12afcd5a2f023eb .git/patches/master/remove +f bacb4aad8a55fe4e7aa58a9ae169990bb764069f .git/patches/master/series +f bc9ab2e0f5db99d483961e956e814d963f0309f8 .git/patches/master/modify +f f8012069806c3baed27b8f661c19083211fb7ca9 .git/patches/master/status +% push (mode) +Applying patch..mode +Patch applied. +% unapplied (mode) +% list_files +d .git/patches +d .git/patches/master +f 22930c6d1f1938f298a4fca51c57e4b47171db21 .git/patches/master/mode +f 49571a872d2f2f1a8c56e65352c0f9b8aff53143 .git/patches/master/status +f 5d8322e2edfca0589cc24df9c09985a544591a2c .git/patches/master/add +f 8bdf2abdb045e63bb877890db12afcd5a2f023eb .git/patches/master/remove +f bacb4aad8a55fe4e7aa58a9ae169990bb764069f .git/patches/master/series +f bc9ab2e0f5db99d483961e956e814d963f0309f8 .git/patches/master/modify diff --git a/regression/t-024.sh b/regression/t-024.sh new file mode 100755 index 0000000..02e656e --- /dev/null +++ b/regression/t-024.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# +# Test the unapplied code +# + +source $REG_DIR/scaffold + +begin "setup_repo" +setup_repo + +begin "unapplied (empty)" +guilt-unapplied + +guilt-series | while read n; do + begin "push ($n)" + guilt-push + + begin "unapplied ($n)" + guilt-unapplied + + begin "list_files" + list_files +done