Skip to content

Commit

Permalink
regression: test 024: test unapplied code
Browse files Browse the repository at this point in the history
Signed-off-by: Josef 'Jeff' Sipek <[email protected]>
  • Loading branch information
jeffpc committed Jan 20, 2008
1 parent fb3036e commit 20cb4e4
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
64 changes: 64 additions & 0 deletions regression/t-024.out
Original file line number Diff line number Diff line change
@@ -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
23 changes: 23 additions & 0 deletions regression/t-024.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 20cb4e4

Please sign in to comment.